38880 fix incorrect negation
This commit is contained in:
parent
94c3c84b6a
commit
f3330cea7f
|
@ -564,7 +564,7 @@ impl<K, V, S> HashMap<K, V, S>
|
|||
where K: Borrow<Q>,
|
||||
Q: Eq + Hash
|
||||
{
|
||||
if !self.is_empty() {
|
||||
if self.is_empty() {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue