diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-08-21 22:32:03 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-08-23 20:52:02 -0700 |
| commit | 9ccd7abefeba2bde9e3366b5bb3985375fb0b8e6 (patch) | |
| tree | ac28c542d58b7306171ceb00a20e83f177289623 /library/std/src | |
| parent | a32d4a0e822a29a6682e08b75a8df4c29c7fa9f1 (diff) | |
| download | rust-9ccd7abefeba2bde9e3366b5bb3985375fb0b8e6.tar.gz rust-9ccd7abefeba2bde9e3366b5bb3985375fb0b8e6.zip | |
library: Move unstable API of new_uninit to new features
- `new_zeroed` variants move to `new_zeroed_alloc` - the `write` fn moves to `box_uninit_write` The remainder will be stabilized in upcoming patches, as it was decided to only stabilize `uninit*` and `assume_init`.
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 2530a376387..f65e9bc8d8b 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -363,6 +363,7 @@ #![feature(get_mut_unchecked)] #![feature(map_try_insert)] #![feature(new_uninit)] +#![feature(new_zeroed_alloc)] #![feature(slice_concat_trait)] #![feature(thin_box)] #![feature(try_reserve_kind)] |
