about summary refs log tree commit diff
path: root/compiler/rustc_serialize/src
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2023-11-03 21:56:06 -0400
committerTrevor Gross <tmgross@umich.edu>2024-01-10 03:06:49 -0500
commit500d6f64791d4f9576c8588ef2cdeab4a3139a02 (patch)
treef7a617e9384e6d36654eb04c1d93cc847464001f /compiler/rustc_serialize/src
parent01337bf1fda37e8fde134454394e27e2ae719a24 (diff)
downloadrust-500d6f64791d4f9576c8588ef2cdeab4a3139a02.tar.gz
rust-500d6f64791d4f9576c8588ef2cdeab4a3139a02.zip
Stabilize `slice_first_last_chunk`
This stabilizes all methods under `slice_first_last_chunk`.

Additionally, it const stabilizes the non-mut functions and moves the `_mut`
functions under `const_slice_first_last_chunk`. These are blocked on
`const_mut_refs`.

As part of this change, `slice_split_at_unchecked` was marked const-stable for
internal use (but not fully stable).
Diffstat (limited to 'compiler/rustc_serialize/src')
-rw-r--r--compiler/rustc_serialize/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_serialize/src/lib.rs b/compiler/rustc_serialize/src/lib.rs
index cfa54072eb9..c149b659a4f 100644
--- a/compiler/rustc_serialize/src/lib.rs
+++ b/compiler/rustc_serialize/src/lib.rs
@@ -16,7 +16,6 @@
 #![feature(min_specialization)]
 #![feature(never_type)]
 #![feature(ptr_sub_ptr)]
-#![feature(slice_first_last_chunk)]
 #![cfg_attr(test, feature(test))]
 #![allow(rustc::internal)]
 #![deny(rustc::untranslatable_diagnostic)]