mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-15 08:23:26 +00:00
![]() add array::from_ref mirrors the methods in `std::slice` with the same name. I guess this method previously didn't exist as there was close to no reason to create an array of size `1`. This will change due to const generics in the near future. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |