diff options
| author | Niklas Fiekas <niklas.fiekas@backscattering.de> | 2023-11-07 17:46:00 +0100 | 
|---|---|---|
| committer | Niklas Fiekas <niklas.fiekas@backscattering.de> | 2023-11-07 17:46:00 +0100 | 
| commit | 0bccdb34a20643ae1bd07ee6f3f0156640a12120 (patch) | |
| tree | d220ee166328b2b5edd8cc7aabf8ba570a0550b2 /library/alloc/src/slice.rs | |
| parent | 69db514ed9238bb11f5d2c576fe26020e3b99a52 (diff) | |
| download | rust-0bccdb34a20643ae1bd07ee6f3f0156640a12120.tar.gz rust-0bccdb34a20643ae1bd07ee6f3f0156640a12120.zip  | |
Stabilize `slice_group_by`
Renamed "group by" to "chunk by" a per #80552. Newly stable items: * `core::slice::ChunkBy` * `core::slice::ChunkByMut` * `[T]::chunk` * `[T]::chunk_by` Closes #80552.
Diffstat (limited to 'library/alloc/src/slice.rs')
| -rw-r--r-- | library/alloc/src/slice.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/slice.rs b/library/alloc/src/slice.rs index aa3b7b7e191..4033f4eb068 100644 --- a/library/alloc/src/slice.rs +++ b/library/alloc/src/slice.rs @@ -51,14 +51,14 @@ pub use core::slice::{from_mut, from_ref}; pub use core::slice::{from_mut_ptr_range, from_ptr_range}; #[stable(feature = "rust1", since = "1.0.0")] pub use core::slice::{from_raw_parts, from_raw_parts_mut}; +#[stable(feature = "slice_group_by", since = "CURRENT_RUSTC_VERSION")] +pub use core::slice::{ChunkBy, ChunkByMut}; #[stable(feature = "rust1", since = "1.0.0")] pub use core::slice::{Chunks, Windows}; #[stable(feature = "chunks_exact", since = "1.31.0")] pub use core::slice::{ChunksExact, ChunksExactMut}; #[stable(feature = "rust1", since = "1.0.0")] pub use core::slice::{ChunksMut, Split, SplitMut}; -#[unstable(feature = "slice_group_by", issue = "80552")] -pub use core::slice::{GroupBy, GroupByMut}; #[stable(feature = "rust1", since = "1.0.0")] pub use core::slice::{Iter, IterMut}; #[stable(feature = "rchunks", since = "1.31.0")]  | 
