Remove #[inline(always)] on Vec::into_boxed_slice
This commit is contained in:
parent
d4dff03e7c
commit
b59fa0d9e8
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue