Skip to content

Commit a22553e

Browse files
Philippe-Cholethellow554
authored andcommitted
fix clippy::derive_partial_eq_without_eq
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>
1 parent cd6bd87 commit a22553e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/minmax.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// `MinMaxResult` is an enum returned by `minmax`.
22
///
33
/// See [`.minmax()`](crate::Itertools::minmax) for more detail.
4-
#[derive(Copy, Clone, PartialEq, Debug)]
4+
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
55
pub enum MinMaxResult<T> {
66
/// Empty iterator
77
NoElements,

0 commit comments

Comments
 (0)