Skip to content

Commit 6912f15

Browse files
committed
clippy fix: remove manual PartialEq::()::ne implementation
1 parent a95a0d3 commit 6912f15

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

library/core/src/cmp.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,10 +1895,6 @@ mod impls {
18951895
fn eq(&self, _other: &()) -> bool {
18961896
true
18971897
}
1898-
#[inline]
1899-
fn ne(&self, _other: &()) -> bool {
1900-
false
1901-
}
19021898
}
19031899

19041900
macro_rules! eq_impl {

0 commit comments

Comments
 (0)