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
..
benches flt2dec: properly handle uninitialized memory 2020-09-02 12:41:38 +02:00
src Rollup merge of #77074 - lcnr:array-from-ref, r=SimonSapin 2020-09-25 02:29:39 +02:00
tests add array from_ref 2020-09-22 21:35:43 +02:00
Cargo.toml mv std libs to library/ 2020-07-27 19:51:13 -05:00