Skip to content

Commit

Permalink
Remove inline attribute from into_vec()
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Apr 16, 2020
1 parent 4e4d49d commit c2f24a1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/liballoc/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ mod hack {
use crate::string::ToString;
use crate::vec::Vec;

#[inline]
pub fn into_vec<T>(b: Box<[T]>) -> Vec<T> {
unsafe {
let len = b.len();
Expand Down

0 comments on commit c2f24a1

Please sign in to comment.