Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/test_utils/src/fixture.rs')
| -rw-r--r-- | crates/test_utils/src/fixture.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/test_utils/src/fixture.rs b/crates/test_utils/src/fixture.rs index 7c5c18df74..5ea7a994b4 100644 --- a/crates/test_utils/src/fixture.rs +++ b/crates/test_utils/src/fixture.rs @@ -310,7 +310,7 @@ impl MiniCore { // Fixed point loop to compute transitive closure of flags. loop { let mut changed = false; - for &(u, v) in implications.iter() { + for &(u, v) in &implications { if self.has_flag(u) && !self.has_flag(v) { self.activated_flags.push(v.to_string()); changed = true; |