diff --git a/src/scopes.rs b/src/scopes.rs index d780ce1..2cab0d2 100644 --- a/src/scopes.rs +++ b/src/scopes.rs @@ -717,7 +717,7 @@ mod tests { "push".to_string(), ]; - let tests = values.into_iter().zip(expecteds.into_iter()); + let tests = values.iter().zip(expecteds.iter()); for (value, expected) in tests { let result = value.to_string();