mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
clippy
This commit is contained in:
parent
fc5c6b9585
commit
c4e2b4f5cc
2 changed files with 3 additions and 2 deletions
|
@ -1303,8 +1303,9 @@ pub fn union_sorted_tags_help<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
for (index, (tag_name, arguments)) in tags_vec.into_iter().enumerate() {
|
||||
for (tag_name, arguments) in tags_vec.into_iter() {
|
||||
// reserve space for the tag discriminant
|
||||
|
||||
let mut arg_layouts = Vec::with_capacity_in(arguments.len() + 1, arena);
|
||||
|
||||
// add the tag discriminant (size currently always hardcoded to i64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue