diff --git a/src/libcore/slice.rs b/src/libcore/slice.rs index af8db18a8737..dbebea37f6fc 100644 --- a/src/libcore/slice.rs +++ b/src/libcore/slice.rs @@ -1558,7 +1558,6 @@ impl Eq for [T] {} #[stable(feature = "rust1", since = "1.0.0")] impl Ord for [T] { - #[inline] fn cmp(&self, other: &[T]) -> Ordering { let l = cmp::min(self.len(), other.len()); let lhs = &self[..l]; @@ -1577,7 +1576,6 @@ impl Ord for [T] { #[stable(feature = "rust1", since = "1.0.0")] impl PartialOrd for [T] { - #[inline] fn partial_cmp(&self, other: &[T]) -> Option { let l = cmp::min(self.len(), other.len()); let lhs = &self[..l];