From c2f24a1d9467715532ade546d0a49fc878e2831c Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Fri, 17 Apr 2020 00:23:44 +0900 Subject: [PATCH] Remove inline attribute from `into_vec()` --- src/liballoc/slice.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index 4171185c9701a..d99bd677de0ab 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();