rust/library/alloc
Dylan DPC d5232c6b93
Rollup merge of #95579 - Cyborus04:slice_flatten, r=scottmcm
Add `<[[T; N]]>::flatten{_mut}`

Adds `flatten` to convert `&[[T; N]]` to `&[T]` (and `flatten_mut` for `&mut [[T; N]]` to `&mut [T]`)
2022-04-08 11:48:21 +02:00
..
benches Add debug assertions to some unsafe functions 2022-03-29 11:05:24 -04:00
src Rollup merge of #95579 - Cyborus04:slice_flatten, r=scottmcm 2022-04-08 11:48:21 +02:00
tests add <[[T; N]]>::flatten, <[[T; N]]>::flatten_mut, and Vec::<[T; N]>::into_flattened 2022-04-08 00:54:39 -04:00
Cargo.toml Switch all libraries to the 2021 edition 2021-12-23 19:03:47 +08:00