rust/library/core
Matthias Krüger 9237937cf0
Rollup merge of #130538 - ultrabear:ultrabear_const_from_ref, r=workingjubilee
Stabilize const `{slice,array}::from_mut`

This PR stabilizes the following APIs as const stable as of rust `1.83`:
```rs
// core::array
pub const fn from_mut<T>(s: &mut T) -> &mut [T; 1];

// core::slice
pub const fn from_mut<T>(s: &mut T) -> &mut [T];
```
This is made possible by `const_mut_refs` being stabilized (yay).

Tracking issue: #90206
2024-10-10 22:00:47 +02:00
..
benches Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
src Rollup merge of #130538 - ultrabear:ultrabear_const_from_ref, r=workingjubilee 2024-10-10 22:00:47 +02:00
tests Rollup merge of #130538 - ultrabear:ultrabear_const_from_ref, r=workingjubilee 2024-10-10 22:00:47 +02:00
Cargo.toml Port std library to RTEMS 2024-09-03 09:19:29 +02:00