mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 04:21:19 +01:00
5b7c98676f
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. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |