diff options
| author | Sebastian Dröge <sebastian@centricular.com> | 2018-10-18 18:48:02 +0300 |
|---|---|---|
| committer | Sebastian Dröge <sebastian@centricular.com> | 2018-10-18 18:51:56 +0300 |
| commit | 52cc6fde4b73a3013ce2185052f9492ae3728367 (patch) | |
| tree | 6b50bb0a8a0fc590b6f61b48268730cf9efe047b /src/liballoc | |
| parent | b08ca2958e1b92c67c3ac0e76455f51742b95d23 (diff) | |
| download | rust-52cc6fde4b73a3013ce2185052f9492ae3728367.tar.gz rust-52cc6fde4b73a3013ce2185052f9492ae3728367.zip | |
Stabilize slice::rchunks(), rchunks_mut(), rchunks_exact(), rchunk_exact_mut()
Fixes #55177
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 1 | ||||
| -rw-r--r-- | src/liballoc/slice.rs | 2 | ||||
| -rw-r--r-- | src/liballoc/tests/lib.rs | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 540a17774e5..84ca7c4fec9 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -119,7 +119,6 @@ #![feature(const_vec_new)] #![feature(slice_partition_dedup)] #![feature(maybe_uninit)] -#![feature(rchunks)] // Allow testing this library diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index 8ffc043d816..1eaff7410ea 100644 --- a/src/liballoc/slice.rs +++ b/src/liballoc/slice.rs @@ -125,7 +125,7 @@ pub use core::slice::{from_ref, from_mut}; pub use core::slice::SliceIndex; #[stable(feature = "chunks_exact", since = "1.31.0")] pub use core::slice::{ChunksExact, ChunksExactMut}; -#[unstable(feature = "rchunks", issue = "55177")] +#[stable(feature = "rchunks", since = "1.31.0")] pub use core::slice::{RChunks, RChunksMut, RChunksExact, RChunksExactMut}; //////////////////////////////////////////////////////////////////////////////// diff --git a/src/liballoc/tests/lib.rs b/src/liballoc/tests/lib.rs index 5a21976d75d..6d1cfb10859 100644 --- a/src/liballoc/tests/lib.rs +++ b/src/liballoc/tests/lib.rs @@ -19,7 +19,6 @@ #![feature(str_escape)] #![feature(try_reserve)] #![feature(unboxed_closures)] -#![feature(rchunks)] #![feature(repeat_generic_slice)] extern crate alloc_system; |
