38880 fix incorrect negation
This commit is contained in:
parent
94c3c84b6a
commit
f3330cea7f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue