Auto merge of #71204 - JohnTitor:into-vec, r=wesleywiser

perf: Remove inline attribute from `into_vec()`

It was introduced in #70565 and is likely related to this perf results: https://perf.rust-lang.org/compare.html?start=1edcfc83c6a08ddc5e63fc652b149baea0236e7c&end=d249d756374737eb014079901ac132f1e1ed905e&stat=instructions:u
Let's check if it's related to that.
r? @wesleywiser could you kick off perf check? I don't think I can do it.
This commit is contained in:
bors 2020-04-18 08:03:38 +00:00
commit 9d430cb351
1 changed files with 0 additions and 1 deletions

View File

@ -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();