about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-25 16:51:04 +0200
committerGitHub <noreply@github.com>2024-08-25 16:51:04 +0200
commit0e2523eaf8a29d6b8394cb43abfed3dfd4ddbc5a (patch)
tree3cc5b280a8eb8cdb4abd01515860bb55bf2491c2 /library/std/src
parent8e27d4ce42a5634b4c0786a9258f3c0c8638370e (diff)
parent90b4e17a1f6604db7f55b45b8b70c2db0afcec14 (diff)
downloadrust-0e2523eaf8a29d6b8394cb43abfed3dfd4ddbc5a.tar.gz
rust-0e2523eaf8a29d6b8394cb43abfed3dfd4ddbc5a.zip
Rollup merge of #129416 - workingjubilee:partial-move-from-stabilization, r=dtolnay
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.rs1
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)]