We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5509bb1 commit 05222beCopy full SHA for 05222be
tests/set.rs
@@ -21,7 +21,7 @@ fn test_hashset_insert_remove() {
21
// more readable with explicit `true` / `false`
22
#[allow(clippy::bool_assert_comparison)]
23
for _ in 0..32 {
24
- for x in tx.iter() {
+ for x in &tx {
25
assert_eq!(m.contains(x), false);
26
assert_eq!(m.insert(x.clone()), true);
27
}
0 commit comments