diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index 955cbe77819e5..c13e90a3d7081 100644 --- a/src/liballoc/slice.rs +++ b/src/liballoc/slice.rs @@ -140,7 +140,6 @@ mod hack { use crate::string::ToString; use crate::vec::Vec; - #[inline] pub fn into_vec(b: Box<[T]>) -> Vec { unsafe { let len = b.len();