From babe20f018a1a92c3f1ece15cc5193e77d9c7ef9 Mon Sep 17 00:00:00 2001 From: Eric Martin Date: Fri, 30 Aug 2013 21:53:25 -0400 Subject: remove several 'ne' methods --- src/libstd/str.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/libstd/str.rs') diff --git a/src/libstd/str.rs b/src/libstd/str.rs index 4b01d29a98b..4a7ab6d6732 100644 --- a/src/libstd/str.rs +++ b/src/libstd/str.rs @@ -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 { -- cgit 1.4.1-3-g733a5