@@ -68,7 +68,7 @@ pub use iter::{ArrayChunks, ArrayChunksMut};
6868#[ unstable( feature = "array_windows" , issue = "75027" ) ]
6969pub use iter:: ArrayWindows ;
7070
71- #[ stable( feature = "slice_group_by" , since = "CURRENT_RUSTC_VERSION " ) ]
71+ #[ stable( feature = "slice_group_by" , since = "1.77.0 " ) ]
7272pub use iter:: { ChunkBy , ChunkByMut } ;
7373
7474#[ stable( feature = "split_inclusive" , since = "1.51.0" ) ]
@@ -334,8 +334,8 @@ impl<T> [T] {
334334 /// assert_eq!(Some(&[]), w.first_chunk::<0>());
335335 /// ```
336336 #[ inline]
337- #[ stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
338- #[ rustc_const_stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
337+ #[ stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
338+ #[ rustc_const_stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
339339 pub const fn first_chunk < const N : usize > ( & self ) -> Option < & [ T ; N ] > {
340340 if self . len ( ) < N {
341341 None
@@ -364,7 +364,7 @@ impl<T> [T] {
364364 /// assert_eq!(None, x.first_chunk_mut::<4>());
365365 /// ```
366366 #[ inline]
367- #[ stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
367+ #[ stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
368368 #[ rustc_const_unstable( feature = "const_slice_first_last_chunk" , issue = "111774" ) ]
369369 pub const fn first_chunk_mut < const N : usize > ( & mut self ) -> Option < & mut [ T ; N ] > {
370370 if self . len ( ) < N {
@@ -394,8 +394,8 @@ impl<T> [T] {
394394 /// assert_eq!(None, x.split_first_chunk::<4>());
395395 /// ```
396396 #[ inline]
397- #[ stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
398- #[ rustc_const_stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
397+ #[ stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
398+ #[ rustc_const_stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
399399 pub const fn split_first_chunk < const N : usize > ( & self ) -> Option < ( & [ T ; N ] , & [ T ] ) > {
400400 if self . len ( ) < N {
401401 None
@@ -429,7 +429,7 @@ impl<T> [T] {
429429 /// assert_eq!(None, x.split_first_chunk_mut::<4>());
430430 /// ```
431431 #[ inline]
432- #[ stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
432+ #[ stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
433433 #[ rustc_const_unstable( feature = "const_slice_first_last_chunk" , issue = "111774" ) ]
434434 pub const fn split_first_chunk_mut < const N : usize > (
435435 & mut self ,
@@ -464,8 +464,8 @@ impl<T> [T] {
464464 /// assert_eq!(None, x.split_last_chunk::<4>());
465465 /// ```
466466 #[ inline]
467- #[ stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
468- #[ rustc_const_stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
467+ #[ stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
468+ #[ rustc_const_stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
469469 pub const fn split_last_chunk < const N : usize > ( & self ) -> Option < ( & [ T ] , & [ T ; N ] ) > {
470470 if self . len ( ) < N {
471471 None
@@ -499,7 +499,7 @@ impl<T> [T] {
499499 /// assert_eq!(None, x.split_last_chunk_mut::<4>());
500500 /// ```
501501 #[ inline]
502- #[ stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
502+ #[ stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
503503 #[ rustc_const_unstable( feature = "const_slice_first_last_chunk" , issue = "111774" ) ]
504504 pub const fn split_last_chunk_mut < const N : usize > (
505505 & mut self ,
@@ -534,7 +534,7 @@ impl<T> [T] {
534534 /// assert_eq!(Some(&[]), w.last_chunk::<0>());
535535 /// ```
536536 #[ inline]
537- #[ stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
537+ #[ stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
538538 #[ rustc_const_unstable( feature = "const_slice_first_last_chunk" , issue = "111774" ) ]
539539 pub const fn last_chunk < const N : usize > ( & self ) -> Option < & [ T ; N ] > {
540540 if self . len ( ) < N {
@@ -568,7 +568,7 @@ impl<T> [T] {
568568 /// assert_eq!(None, x.last_chunk_mut::<4>());
569569 /// ```
570570 #[ inline]
571- #[ stable( feature = "slice_first_last_chunk" , since = "CURRENT_RUSTC_VERSION " ) ]
571+ #[ stable( feature = "slice_first_last_chunk" , since = "1.77.0 " ) ]
572572 #[ rustc_const_unstable( feature = "const_slice_first_last_chunk" , issue = "111774" ) ]
573573 pub const fn last_chunk_mut < const N : usize > ( & mut self ) -> Option < & mut [ T ; N ] > {
574574 if self . len ( ) < N {
@@ -1777,7 +1777,7 @@ impl<T> [T] {
17771777 /// assert_eq!(iter.next(), Some(&[2, 3, 4][..]));
17781778 /// assert_eq!(iter.next(), None);
17791779 /// ```
1780- #[ stable( feature = "slice_group_by" , since = "CURRENT_RUSTC_VERSION " ) ]
1780+ #[ stable( feature = "slice_group_by" , since = "1.77.0 " ) ]
17811781 #[ inline]
17821782 pub fn chunk_by < F > ( & self , pred : F ) -> ChunkBy < ' _ , T , F >
17831783 where
@@ -1818,7 +1818,7 @@ impl<T> [T] {
18181818 /// assert_eq!(iter.next(), Some(&mut [2, 3, 4][..]));
18191819 /// assert_eq!(iter.next(), None);
18201820 /// ```
1821- #[ stable( feature = "slice_group_by" , since = "CURRENT_RUSTC_VERSION " ) ]
1821+ #[ stable( feature = "slice_group_by" , since = "1.77.0 " ) ]
18221822 #[ inline]
18231823 pub fn chunk_by_mut < F > ( & mut self , pred : F ) -> ChunkByMut < ' _ , T , F >
18241824 where
@@ -1953,7 +1953,7 @@ impl<T> [T] {
19531953 #[ unstable( feature = "slice_split_at_unchecked" , reason = "new API" , issue = "76014" ) ]
19541954 #[ rustc_const_stable(
19551955 feature = "const_slice_split_at_unchecked" ,
1956- since = "CURRENT_RUSTC_VERSION "
1956+ since = "1.77.0 "
19571957 ) ]
19581958 #[ inline]
19591959 #[ must_use]
0 commit comments