diff options
Diffstat (limited to 'src/librustrt')
| -rw-r--r-- | src/librustrt/c_str.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/librustrt/c_str.rs b/src/librustrt/c_str.rs index 68c2d2031c4..21186a5ac30 100644 --- a/src/librustrt/c_str.rs +++ b/src/librustrt/c_str.rs @@ -121,13 +121,6 @@ impl PartialEq for CString { } impl PartialOrd for CString { - // NOTE(stage0): remove method after a snapshot - #[cfg(stage0)] - #[inline] - fn partial_cmp(&self, other: &CString) -> Option<Ordering> { - self.as_bytes().partial_cmp(&other.as_bytes()) - } - #[cfg(not(stage0))] // NOTE(stage0): remove cfg after a snapshot #[inline] fn partial_cmp(&self, other: &CString) -> Option<Ordering> { self.as_bytes().partial_cmp(other.as_bytes()) |
