Skip to content

Commit cc8c43d

Browse files
committed
clippy fix: remove manual PartialEq::()::ne implementation
1 parent 387fe10 commit cc8c43d

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
@@ -1898,10 +1898,6 @@ mod impls {
18981898
fn eq(&self, _other: &()) -> bool {
18991899
true
19001900
}
1901-
#[inline]
1902-
fn ne(&self, _other: &()) -> bool {
1903-
false
1904-
}
19051901
}
19061902

19071903
macro_rules! eq_impl {

0 commit comments

Comments
 (0)