about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2018-04-15 10:34:57 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2018-04-15 10:34:57 +0200
commitb59fa0d9e81fe36c5d298f8f828aaf0755e96f89 (patch)
treedaed536ce1abaca7ce08b0cca58e368e363ba49b /src/liballoc
parentd4dff03e7c6decd6b545dcb290d2c592969b3d81 (diff)
downloadrust-b59fa0d9e81fe36c5d298f8f828aaf0755e96f89.tar.gz
rust-b59fa0d9e81fe36c5d298f8f828aaf0755e96f89.zip
Remove #[inline(always)] on Vec::into_boxed_slice
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/vec.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index 3fff28469fe..a6498b8861e 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -638,7 +638,6 @@ impl<T> Vec<T> {
     /// assert_eq!(slice.into_vec().capacity(), 3);
     /// ```
     #[stable(feature = "rust1", since = "1.0.0")]
-    #[inline(always)]
     pub fn into_boxed_slice(mut self) -> Box<[T]> {
         unsafe {
             self.shrink_to_fit();