From 08b9edfe94c2680bde224b9dc6dd4a0de6616a07 Mon Sep 17 00:00:00 2001 From: Andrea Canciani Date: Wed, 16 Sep 2015 16:09:01 +0200 Subject: [PATCH] Remove inline attribute Be more conservative with inlining. --- src/libcore/slice.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libcore/slice.rs b/src/libcore/slice.rs index af8db18a8737c..dbebea37f6fc8 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];