about summary refs log tree commit diff
path: root/src/libstd/str.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-08-30 21:40:32 -0700
committerbors <bors@rust-lang.org>2013-08-30 21:40:32 -0700
commitbb35e23f1ca63eba4a3ea25ecdf68a393871ed18 (patch)
tree46ae78240122b0324b698c6e6c57024c74376ef8 /src/libstd/str.rs
parent5fe553d30f6e3ef7c021092533f1d7c74f6e8fb6 (diff)
parent1ab0ddae5ccc465f64d1a2644c27d32b3e56df54 (diff)
downloadrust-bb35e23f1ca63eba4a3ea25ecdf68a393871ed18.tar.gz
rust-bb35e23f1ca63eba4a3ea25ecdf68a393871ed18.zip
auto merge of #8896 : lightcatcher/rust/default_eq_fix, r=thestinger
Summary:
-removed "ne" methods in libstd and librustpkg
-made default "ne" be inlined
-made one of the "eq" methods in librustpkg follow more standard parameter naming convention
Diffstat (limited to 'src/libstd/str.rs')
-rw-r--r--src/libstd/str.rs4
1 files changed, 0 insertions, 4 deletions
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 {