aboutsummaryrefslogtreecommitdiffstats
path: root/components/hashglobe/src/hash_set.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/hashglobe/src/hash_set.rs')
-rw-r--r--components/hashglobe/src/hash_set.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/hashglobe/src/hash_set.rs b/components/hashglobe/src/hash_set.rs
index 320a521bc6b..2139b58a601 100644
--- a/components/hashglobe/src/hash_set.rs
+++ b/components/hashglobe/src/hash_set.rs
@@ -1450,7 +1450,7 @@ mod test_set {
s2.insert(1);
s2.insert(2);
- assert!(s1 != s2);
+ assert_ne!(s1, s2);
s2.insert(3);
@@ -1496,7 +1496,7 @@ mod test_set {
let mut d = s.drain();
for (i, x) in d.by_ref().take(50).enumerate() {
last_i = i;
- assert!(x != 0);
+ assert_ne!(x, 0);
}
assert_eq!(last_i, 49);
}