0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-12-01 04:21:19 +01:00
rust/library/alloc
Yuki Okushi 5b7c98676f
Rollup merge of #84248 - calebsander:refactor/vec-functions, r=Amanieu
Remove duplicated fn(Box<[T]>) -> Vec<T>

`<[T]>::into_vec()` does the same thing as `Vec::from::<Box<[T]>>()`, so they can be implemented in terms of each other. This was the previous implementation of `Vec::from()`, but was changed in #78461. I'm not sure what the rationale was for that change, but it seems preferable to maintain a single implementation.
2021-04-24 03:44:04 +09:00
..
benches Try to make Vec benchmarks only run code they are benchmarking 2021-03-25 00:14:00 -04:00
src Rollup merge of #84248 - calebsander:refactor/vec-functions, r=Amanieu 2021-04-24 03:44:04 +09:00
tests Add better test for BinaryHeap::retain. 2021-04-22 14:24:30 +02:00
Cargo.toml