mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
drop into_iter in some places
This commit is contained in:
parent
e6a154765c
commit
6ab54c02e2
9 changed files with 21 additions and 21 deletions
|
@ -701,7 +701,7 @@ fn convert_tag(subs: &Subs, whole_var: Variable, this_tag: &TagName) -> (Union,
|
|||
let mut my_tag_id = TagId(num_tags as TagIdIntType);
|
||||
|
||||
let mut alternatives = Vec::with_capacity(num_tags);
|
||||
let alternatives_iter = sorted_tags.into_iter().chain(opt_openness_tag.into_iter());
|
||||
let alternatives_iter = sorted_tags.into_iter().chain(opt_openness_tag);
|
||||
|
||||
let mut index = 0;
|
||||
for (tag, args) in alternatives_iter {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue