diff options
| author | DaniPopes <57450786+DaniPopes@users.noreply.github.com> | 2025-01-01 15:25:20 +0100 |
|---|---|---|
| committer | DaniPopes <57450786+DaniPopes@users.noreply.github.com> | 2025-01-01 15:25:21 +0100 |
| commit | 7de250f1e34ac18cf616179353a67019dfc2c0d6 (patch) | |
| tree | 129a1a61cfc2f256ebb23d020c0d5a35d66576d2 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | eeeff9a66cda13934600800eee40fd84ba1647eb (diff) | |
| download | rust-7de250f1e34ac18cf616179353a67019dfc2c0d6.tar.gz rust-7de250f1e34ac18cf616179353a67019dfc2c0d6.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
