Skip to content

Commit e918f3f

Browse files
authored
Fix clippy lint issue (#808)
- [x] no changelog update needed
2 parents 16c1fad + c70c0d2 commit e918f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agb-hashmap/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ where
898898
}
899899

900900
self.iter()
901-
.all(|(key, value)| other.get(key).map_or(false, |v| *value == *v))
901+
.all(|(key, value)| other.get(key).is_some_and(|v| *value == *v))
902902
}
903903
}
904904

0 commit comments

Comments
 (0)