Fix a clippy warning

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

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

Loading…
Cancel
Save