about summary refs log tree commit diff
path: root/library/alloc/src
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/alloc/src
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/alloc/src')
-rw-r--r--library/alloc/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 5469261ef56..55e18b04956 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -135,7 +135,6 @@
 #![feature(maybe_uninit_uninit_array)]
 #![feature(maybe_uninit_uninit_array_transpose)]
 #![cfg_attr(test, feature(new_uninit))]
-#![feature(nonnull_slice_from_raw_parts)]
 #![feature(pattern)]
 #![feature(pointer_byte_offsets)]
 #![feature(provide_any)]