From 065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 12 Nov 2014 12:17:55 -0800 Subject: Register new snapshots --- src/libcollections/str.rs | 7 ------- src/libcollections/vec.rs | 14 -------------- 2 files changed, 21 deletions(-) (limited to 'src/libcollections') 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()) diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 0e3799ed9ac..9958943a70c 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -506,13 +506,6 @@ impl PartialEq for Vec { #[unstable = "waiting on PartialOrd stability"] impl PartialOrd for Vec { - // NOTE(stage0): remove method after a snapshot - #[cfg(stage0)] - #[inline] - fn partial_cmp(&self, other: &Vec) -> Option { - self.as_slice().partial_cmp(&other.as_slice()) - } - #[cfg(not(stage0))] // NOTE(stage0): remove cfg after a snapshot #[inline] fn partial_cmp(&self, other: &Vec) -> Option { self.as_slice().partial_cmp(other.as_slice()) @@ -530,13 +523,6 @@ impl> Equiv for Vec { #[unstable = "waiting on Ord stability"] impl Ord for Vec { - // NOTE(stage0): remove method after a snapshot - #[cfg(stage0)] - #[inline] - fn cmp(&self, other: &Vec) -> Ordering { - self.as_slice().cmp(&other.as_slice()) - } - #[cfg(not(stage0))] // NOTE(stage0): remove cfg after a snapshot #[inline] fn cmp(&self, other: &Vec) -> Ordering { self.as_slice().cmp(other.as_slice()) -- cgit 1.4.1-3-g733a5