about summary refs log tree commit diff
path: root/src/libcollections/str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcollections/str.rs')
-rw-r--r--src/libcollections/str.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs
index 04fc85091fa..20aa29fbb3d 100644
--- a/src/libcollections/str.rs
+++ b/src/libcollections/str.rs
@@ -534,13 +534,6 @@ impl<'a> PartialOrd for MaybeOwned<'a> {
 }
 
 impl<'a> Ord for MaybeOwned<'a> {
-    // NOTE(stage0): remove method after a snapshot
-    #[cfg(stage0)]
-    #[inline]
-    fn cmp(&self, other: &MaybeOwned) -> Ordering {
-        self.as_slice().cmp(&other.as_slice())
-    }
-    #[cfg(not(stage0))]  // NOTE(stage0): remove cfg after a snapshot
     #[inline]
     fn cmp(&self, other: &MaybeOwned) -> Ordering {
         self.as_slice().cmp(other.as_slice())