mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
the clippiest of clips
This commit is contained in:
parent
8f51b2d429
commit
04f8b93a9b
2 changed files with 3 additions and 3 deletions
|
@ -132,7 +132,7 @@ pub fn build_expr<'a, 'ctx, 'env>(
|
|||
let mut arg_tuples: Vec<(BasicValueEnum, &'a Layout<'a>)> =
|
||||
Vec::with_capacity_in(args.len(), env.arena);
|
||||
|
||||
for (arg, layout) in args.into_iter() {
|
||||
for (arg, layout) in args.iter() {
|
||||
arg_tuples.push((build_expr(env, scope, parent, arg, procs), layout));
|
||||
}
|
||||
|
||||
|
@ -1067,7 +1067,7 @@ fn call_with_args<'a, 'ctx, 'env>(
|
|||
|
||||
let mut arg_vals: Vec<BasicValueEnum> = Vec::with_capacity_in(args.len(), env.arena);
|
||||
|
||||
for (arg, _layout) in args.into_iter() {
|
||||
for (arg, _layout) in args.iter() {
|
||||
arg_vals.push(*arg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue