Skip to content

Commit 82d42b1

Browse files
committed
fix clippy::derive_partial_eq_without_eq in tests
1 parent eeb1783 commit 82d42b1

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
@@ -234,7 +234,7 @@ fn count_clones() {
234234
// Check that RepeatN only clones N - 1 times.
235235

236236
use core::cell::Cell;
237-
#[derive(PartialEq, Debug)]
237+
#[derive(PartialEq, Eq, Debug)]
238238
struct Foo {
239239
n: Cell<usize>
240240
}

0 commit comments

Comments
 (0)