pass argument by reference

This commit is contained in:
Folkert 2020-10-29 00:33:04 +01:00
parent 592f2cb545
commit ee23e5979d
4 changed files with 5 additions and 5 deletions

View file

@ -450,7 +450,7 @@ pub fn canonicalize_expr<'a>(
let mut bound_by_argument_patterns = MutSet::default();
for loc_pattern in loc_arg_patterns.into_iter() {
for loc_pattern in loc_arg_patterns.iter() {
let (new_output, can_arg) = canonicalize_pattern(
env,
var_store,