about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-10-18 10:22:34 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-10-18 18:51:56 +0300
commitb08ca2958e1b92c67c3ac0e76455f51742b95d23 (patch)
treeceafceabde6543e5cc8727c09e19dee1eeb7f475 /src/liballoc
parent121320d5236b255049ef178669b5a279389cd1e5 (diff)
downloadrust-b08ca2958e1b92c67c3ac0e76455f51742b95d23.tar.gz
rust-b08ca2958e1b92c67c3ac0e76455f51742b95d23.zip
Stabilize slice::chunks_exact() and slice::chunks_exact_mut()
Fixes #47115
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs1
-rw-r--r--src/liballoc/slice.rs2
-rw-r--r--src/liballoc/tests/lib.rs1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 0cad471d9a1..540a17774e5 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -115,7 +115,6 @@
 #![feature(unsize)]
 #![feature(allocator_internals)]
 #![feature(on_unimplemented)]
-#![feature(chunks_exact)]
 #![feature(rustc_const_unstable)]
 #![feature(const_vec_new)]
 #![feature(slice_partition_dedup)]
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs
index 2628757b503..8ffc043d816 100644
--- a/src/liballoc/slice.rs
+++ b/src/liballoc/slice.rs
@@ -123,7 +123,7 @@ pub use core::slice::{from_raw_parts, from_raw_parts_mut};
 pub use core::slice::{from_ref, from_mut};
 #[stable(feature = "slice_get_slice", since = "1.28.0")]
 pub use core::slice::SliceIndex;
-#[unstable(feature = "chunks_exact", issue = "47115")]
+#[stable(feature = "chunks_exact", since = "1.31.0")]
 pub use core::slice::{ChunksExact, ChunksExactMut};
 #[unstable(feature = "rchunks", issue = "55177")]
 pub use core::slice::{RChunks, RChunksMut, RChunksExact, RChunksExactMut};
diff --git a/src/liballoc/tests/lib.rs b/src/liballoc/tests/lib.rs
index 62c84c9e086..5a21976d75d 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(chunks_exact)]
 #![feature(rchunks)]
 #![feature(repeat_generic_slice)]