This commit is contained in:
Folkert 2021-08-14 00:53:18 +02:00
parent 3e448c1b74
commit 6d833845f9
2 changed files with 2 additions and 2 deletions

View file

@ -884,7 +884,7 @@ fn type_to_union_tags(
tag_vars.extend(it.map(|(n, v)| (n.clone(), v)));
tag_vars.sort_unstable_by(|(a, _), (b, _)| a.cmp(b));
// deduplicate, keeping the right-most occurence of a tag name
// deduplicate, keeping the right-most occurrence of a tag name
let mut i = 0;
while i < tag_vars.len() {