Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
error: incorrect implementation of `partial_cmp` on an `Ord` type --> crates/types/src/player.rs:43:1 | 43 | / impl PartialOrd for Player { 44 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> { | | _____________________________________________________________- 45 | || self.to_num().partial_cmp(&other.to_num()) 46 | || } | ||_____- help: change this to: `{ Some(self.cmp(other)) }` 47 | | } | |__^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type = note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default error: could not compile `de_types` (lib) due to previous error warning: build failed, waiting for other jobs to finish... Error: Process completed with exit code 101.
- Loading branch information