diff options
| author | Anthony Ramine <n.oxyde@gmail.com> | 2018-04-15 10:34:57 +0200 |
|---|---|---|
| committer | Anthony Ramine <n.oxyde@gmail.com> | 2018-04-15 10:34:57 +0200 |
| commit | b59fa0d9e81fe36c5d298f8f828aaf0755e96f89 (patch) | |
| tree | daed536ce1abaca7ce08b0cca58e368e363ba49b /src/liballoc | |
| parent | d4dff03e7c6decd6b545dcb290d2c592969b3d81 (diff) | |
| download | rust-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.rs | 1 |
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(); |
