about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-04-17 00:23:44 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2020-04-17 00:23:44 +0900
commitc2f24a1d9467715532ade546d0a49fc878e2831c (patch)
tree62d77d1b1db65eadce3847f585fb6fd3affe93b3 /src
parent4e4d49d60fd696c4036d438292673a2d7fd34519 (diff)
downloadrust-c2f24a1d9467715532ade546d0a49fc878e2831c.tar.gz
rust-c2f24a1d9467715532ade546d0a49fc878e2831c.zip
Remove inline attribute from `into_vec()`
Diffstat (limited to 'src')
-rw-r--r--src/liballoc/slice.rs1
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();