Files
rust/library/core
Jonas Schievink 09b0bd6022 Rollup merge of #77074 - lcnr:array-from-ref, r=SimonSapin
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.
2020-09-25 02:29:39 +02:00
..
2020-09-22 21:35:43 +02:00
2020-07-27 19:51:13 -05:00