Fix some rust-clippy violations

This commit is contained in:
Corey Farwell 2015-10-30 18:41:22 -04:00
parent 1dfc0481ef
commit 16fa9cabc9
11 changed files with 37 additions and 42 deletions

View file

@ -78,7 +78,7 @@ impl Ord for Timer {
fn cmp(&self, other: &Timer) -> Ordering {
match self.next_call.cmp(&other.next_call).reverse() {
Ordering::Equal => self.handle.cmp(&other.handle).reverse(),
res @ _ => res
res => res
}
}
}