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 <[email protected]>
  • Loading branch information
Philippe-Cholet and hellow554 committed Jan 10, 2024
1 parent c5a1b16 commit f868169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/minmax.rs
Original file line number Diff line number Diff line change
@@ -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 f868169

Please sign in to comment.