Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#134995 - DaniPopes:stable-const_slice_flatt…
…en, r=Amanieu Stabilize const_slice_flatten Const-stabilizes `slice::as_flattened{,_mut}`: ```rust // core::slice impl<T, const N: usize> [[T; N]] { pub const fn as_flattened(&self) -> &[T]; pub const fn as_flattened_mut(&mut self) -> &mut [T]; } ``` Tracking issue: rust-lang#95629 Requires separate FCP, as per rust-lang#95629 (comment). Closes rust-lang#95629. ``@rustbot`` modify labels: +T-libs-api Happy new year!
- Loading branch information