rust/library/core
DaniPopes 7de250f1e3
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: https://github.com/rust-lang/rust/issues/95629

Requires separate libs-api FCP, as per https://github.com/rust-lang/rust/issues/95629#issuecomment-2566546257.

Closes https://github.com/rust-lang/rust/issues/95629.
2025-01-01 15:25:21 +01:00
..
benches Fix typos 2024-12-27 21:35:57 +08:00
src Stabilize const_slice_flatten 2025-01-01 15:25:21 +01:00
tests Auto merge of #132195 - clarfonthey:bigint-mul, r=scottmcm 2024-12-31 18:49:36 +00:00
Cargo.toml Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. 2024-12-03 10:54:08 +00:00