diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-11-12 12:17:55 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-12 12:17:55 -0800 |
| commit | 065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3 (patch) | |
| tree | 7dc0761aee6f0eef769a3a4bbc475d3df7a789f4 /src/libcollections/str.rs | |
| parent | e4ead7b034c96b705ec34b8325f5f9f778f1cbb9 (diff) | |
| download | rust-065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3.tar.gz rust-065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3.zip | |
Register new snapshots
Diffstat (limited to 'src/libcollections/str.rs')
| -rw-r--r-- | src/libcollections/str.rs | 7 |
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()) |
