38880 fix incorrect negation

This commit is contained in:
Shaun Steenkamp 2018-02-13 17:15:58 +00:00
parent 94c3c84b6a
commit f3330cea7f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}