diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-04-17 00:23:44 +0900 |
|---|---|---|
| committer | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-04-17 00:23:44 +0900 |
| commit | c2f24a1d9467715532ade546d0a49fc878e2831c (patch) | |
| tree | 62d77d1b1db65eadce3847f585fb6fd3affe93b3 | |
| parent | 4e4d49d60fd696c4036d438292673a2d7fd34519 (diff) | |
| download | rust-c2f24a1d9467715532ade546d0a49fc878e2831c.tar.gz rust-c2f24a1d9467715532ade546d0a49fc878e2831c.zip | |
Remove inline attribute from `into_vec()`
| -rw-r--r-- | src/liballoc/slice.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index 4171185c970..d99bd677de0 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<T>(b: Box<[T]>) -> Vec<T> { unsafe { let len = b.len(); |
