Skip to content

Commit 4763c22

Browse files
committed
Rollup merge of #55178 - sdroege:stabilize-chunks-exact, r=alexcrichton
Stabilize slice::chunks_exact(), chunks_exact_mut(), rchunks(), rchunks_mut(), rchunks_exact(), rchunks_exact_mut() Fixes #47115, #55177
2 parents 399314d + 52cc6fd commit 4763c22

File tree

5 files changed

+51
-69
lines changed

5 files changed

+51
-69
lines changed

src/liballoc/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,10 @@
115115
#![feature(unsize)]
116116
#![feature(allocator_internals)]
117117
#![feature(on_unimplemented)]
118-
#![feature(chunks_exact)]
119118
#![feature(rustc_const_unstable)]
120119
#![feature(const_vec_new)]
121120
#![feature(slice_partition_dedup)]
122121
#![feature(maybe_uninit)]
123-
#![feature(rchunks)]
124122

125123
// Allow testing this library
126124

src/liballoc/slice.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ pub use core::slice::{from_raw_parts, from_raw_parts_mut};
123123
pub use core::slice::{from_ref, from_mut};
124124
#[stable(feature = "slice_get_slice", since = "1.28.0")]
125125
pub use core::slice::SliceIndex;
126-
#[unstable(feature = "chunks_exact", issue = "47115")]
126+
#[stable(feature = "chunks_exact", since = "1.31.0")]
127127
pub use core::slice::{ChunksExact, ChunksExactMut};
128-
#[unstable(feature = "rchunks", issue = "55177")]
128+
#[stable(feature = "rchunks", since = "1.31.0")]
129129
pub use core::slice::{RChunks, RChunksMut, RChunksExact, RChunksExactMut};
130130

131131
////////////////////////////////////////////////////////////////////////////////

src/liballoc/tests/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
#![feature(str_escape)]
2020
#![feature(try_reserve)]
2121
#![feature(unboxed_closures)]
22-
#![feature(chunks_exact)]
23-
#![feature(rchunks)]
2422
#![feature(repeat_generic_slice)]
2523

2624
extern crate alloc_system;

0 commit comments

Comments
 (0)