remove several 'ne' methods

This commit is contained in:
Eric Martin
2013-08-30 21:53:25 -04:00
parent 8002a09bf9
commit babe20f018
10 changed files with 0 additions and 24 deletions

View File

@@ -1180,8 +1180,6 @@ pub mod traits {
fn eq(&self, other: &~str) -> bool {
eq_slice((*self), (*other))
}
#[inline]
fn ne(&self, other: &~str) -> bool { !(*self).eq(other) }
}
impl Eq for @str {
@@ -1189,8 +1187,6 @@ pub mod traits {
fn eq(&self, other: &@str) -> bool {
eq_slice((*self), (*other))
}
#[inline]
fn ne(&self, other: &@str) -> bool { !(*self).eq(other) }
}
impl<'self> TotalEq for &'self str {