Skip to content

Commit 80f19f1

Browse files
impl Eq for Position
I do not see any reason not to and I need this for the next commit.
1 parent e01c929 commit 80f19f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/with_position.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ where
3737
/// Indicates the position of this element in the iterator results.
3838
///
3939
/// See [`.with_position()`](crate::Itertools::with_position) for more information.
40-
#[derive(Copy, Clone, Debug, PartialEq)]
40+
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
4141
pub enum Position {
4242
/// This is the first element.
4343
First,

0 commit comments

Comments
 (0)