Skip to content

Commit f3330ce

Browse files
committed
38880 fix incorrect negation
1 parent 94c3c84 commit f3330ce

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/collections/hash

1 file changed

+1
-1
lines changed

src/libstd/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ impl<K, V, S> HashMap<K, V, S>
564564
where K: Borrow<Q>,
565565
Q: Eq + Hash
566566
{
567-
if !self.is_empty() {
567+
if self.is_empty() {
568568
return None;
569569
}
570570

0 commit comments

Comments
 (0)