2 Checks comparison chains written with `if` that can be
3 rewritten with `match` and `cmp`.
6 `if` is not guaranteed to be exhaustive and conditionals can get
10 The match statement may be slower due to the compiler
11 not inlining the call to cmp. See issue [#5354](https://github.com/rust-lang/rust-clippy/issues/5354)
28 use std::cmp::Ordering;
31 Ordering::Greater => a(),
32 Ordering::Less => b(),
33 Ordering::Equal => c()