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