diff --git a/jaq-core/src/compile.rs b/jaq-core/src/compile.rs index f1ab4554a..5abd04b82 100644 --- a/jaq-core/src/compile.rs +++ b/jaq-core/src/compile.rs @@ -374,7 +374,7 @@ impl Locals { let vars = self.vars.total; - for arg in &args { + for arg in args.iter() { match arg { Bind::Var(v) => self.vars.push(*v), Bind::Fun(f) => self.push_arg(*f),