Skip to content

Commit

Permalink
Remove #[inline(always)] on Vec::into_boxed_slice
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Apr 15, 2018
1 parent d4dff03 commit b59fa0d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/liballoc/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b59fa0d

Please sign in to comment.