Skip to content

Commit 61bb30b

Browse files
committed
Remove redundant method impl reported by clippy.
1 parent c8d0193 commit 61bb30b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -682,10 +682,6 @@ impl<K: Hash + Eq, V: PartialEq, S: BuildHasher> PartialEq for LinkedHashMap<K,
682682
fn eq(&self, other: &Self) -> bool {
683683
self.len() == other.len() && self.iter().eq(other)
684684
}
685-
686-
fn ne(&self, other: &Self) -> bool {
687-
self.len() != other.len() || self.iter().ne(other)
688-
}
689685
}
690686

691687
impl<K: Hash + Eq, V: Eq, S: BuildHasher> Eq for LinkedHashMap<K, V, S> {}

0 commit comments

Comments
 (0)