From 52cc6fde4b73a3013ce2185052f9492ae3728367 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Thu, 18 Oct 2018 18:48:02 +0300 Subject: Stabilize slice::rchunks(), rchunks_mut(), rchunks_exact(), rchunk_exact_mut() Fixes #55177 --- src/liballoc/lib.rs | 1 - src/liballoc/slice.rs | 2 +- src/liballoc/tests/lib.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/liballoc') 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; -- cgit 1.4.1-3-g733a5