Skip to content

Commit c2f24a1

Browse files
committed
Remove inline attribute from into_vec()
1 parent 4e4d49d commit c2f24a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/liballoc/slice.rs

-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ mod hack {
140140
use crate::string::ToString;
141141
use crate::vec::Vec;
142142

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

0 commit comments

Comments
 (0)