Remove manual implementation of String::ne
This commit is contained in:
parent
bc3f6542f3
commit
e248d0c837
@ -2213,10 +2213,6 @@ impl PartialEq for String {
|
||||
fn eq(&self, other: &String) -> bool {
|
||||
PartialEq::eq(&self[..], &other[..])
|
||||
}
|
||||
#[inline]
|
||||
fn ne(&self, other: &String) -> bool {
|
||||
PartialEq::ne(&self[..], &other[..])
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! impl_eq {
|
||||
|
Loading…
Reference in New Issue
Block a user