about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-27 08:46:50 +0200
committerGitHub <noreply@github.com>2023-03-27 08:46:50 +0200
commit102bbbd940028e78db7f67b1affe116ab08ed154 (patch)
tree42422ade59502960a7b4c48da201a8dce86a8d3c /library/std
parent1d5820784e442ec7e89474e2fa305440253ffaeb (diff)
parent22a456ad47f42179268165b009e8925a84d4c43f (diff)
downloadrust-102bbbd940028e78db7f67b1affe116ab08ed154.tar.gz
rust-102bbbd940028e78db7f67b1affe116ab08ed154.zip
Rollup merge of #97506 - JohnTitor:stabilize-nonnull-slice-from-raw-parts, r=m-ou-se,the8472
Stabilize `nonnull_slice_from_raw_parts`

FCP is done: https://github.com/rust-lang/rust/issues/71941#issuecomment-1100910416
Note that this doesn't const-stabilize `NonNull::slice_from_raw_parts` as `slice_from_raw_parts_mut` isn't const-stabilized yet. Given #67456 and #57349, it's not likely available soon, meanwhile, stabilizing only the feature makes some sense, I think.

Closes #71941
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 4e7b6080835..baad6de707b 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -292,7 +292,6 @@
 #![feature(is_some_and)]
 #![feature(maybe_uninit_slice)]
 #![feature(maybe_uninit_write_slice)]
-#![feature(nonnull_slice_from_raw_parts)]
 #![feature(panic_can_unwind)]
 #![feature(panic_info_message)]
 #![feature(panic_internals)]