Skip to content

Commit 05222be

Browse files
committed
Fix a pedantic clippy lint
1 parent 5509bb1 commit 05222be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn test_hashset_insert_remove() {
2121
// more readable with explicit `true` / `false`
2222
#[allow(clippy::bool_assert_comparison)]
2323
for _ in 0..32 {
24-
for x in tx.iter() {
24+
for x in &tx {
2525
assert_eq!(m.contains(x), false);
2626
assert_eq!(m.insert(x.clone()), true);
2727
}

0 commit comments

Comments
 (0)