Skip to content

Commit

Permalink
fix clippy::derive_partial_eq_without_eq
Browse files Browse the repository at this point in the history
I merely did `cargo clippy --fix -- -D clippy::derive_partial_eq_without_eq` but the next link is useful to understand why it should be done
https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Co-Authored-By: Marcel Hellwig <ghpub@cookiesoft.de>
  • Loading branch information
2 people authored and phimuemue committed Jan 10, 2024
1 parent cd6bd87 commit a22553e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/minmax.rs
@@ -1,7 +1,7 @@
/// `MinMaxResult` is an enum returned by `minmax`.
///
/// See [`.minmax()`](crate::Itertools::minmax) for more detail.
#[derive(Copy, Clone, PartialEq, Debug)]
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
pub enum MinMaxResult<T> {
/// Empty iterator
NoElements,
Expand Down

0 comments on commit a22553e

Please sign in to comment.