Fix another clippy warning

poc-serde-support
Stjepan Glavina 5 years ago
parent 5874392397
commit 6d421de992

@ -74,7 +74,7 @@ impl WakerSet {
pub fn remove(&self, key: usize) {
let mut inner = self.lock();
if let Some(_) = inner.entries.remove(key) {
if inner.entries.remove(key).is_some() {
inner.notifiable -= 1;
}
}

Loading…
Cancel
Save