Skip to content

Commit db4a77d

Browse files
committed
fix clippy::derive_partial_eq_without_eq in tests
1 parent 168eaaa commit db4a77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ fn count_clones() {
229229
// Check that RepeatN only clones N - 1 times.
230230

231231
use core::cell::Cell;
232-
#[derive(PartialEq, Debug)]
232+
#[derive(PartialEq, Eq, Debug)]
233233
struct Foo {
234234
n: Cell<usize>
235235
}

0 commit comments

Comments
 (0)