@@ -86,7 +86,7 @@ pub trait SliceExt {
8686 fn split < P > ( & self , pred : P ) -> Split < Self :: Item , P >
8787 where P : FnMut ( & Self :: Item ) -> bool ;
8888
89- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
89+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
9090 fn rsplit < P > ( & self , pred : P ) -> RSplit < Self :: Item , P >
9191 where P : FnMut ( & Self :: Item ) -> bool ;
9292
@@ -169,7 +169,7 @@ pub trait SliceExt {
169169 fn split_mut < P > ( & mut self , pred : P ) -> SplitMut < Self :: Item , P >
170170 where P : FnMut ( & Self :: Item ) -> bool ;
171171
172- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
172+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
173173 fn rsplit_mut < P > ( & mut self , pred : P ) -> RSplitMut < Self :: Item , P >
174174 where P : FnMut ( & Self :: Item ) -> bool ;
175175
@@ -223,7 +223,7 @@ pub trait SliceExt {
223223 #[ stable( feature = "copy_from_slice" , since = "1.9.0" ) ]
224224 fn copy_from_slice ( & mut self , src : & [ Self :: Item ] ) where Self :: Item : Copy ;
225225
226- #[ unstable ( feature = "swap_with_slice" , issue = "44030 " ) ]
226+ #[ stable ( feature = "swap_with_slice" , since = "1.27.0 " ) ]
227227 fn swap_with_slice ( & mut self , src : & mut [ Self :: Item ] ) ;
228228
229229 #[ stable( feature = "sort_unstable" , since = "1.20.0" ) ]
@@ -1840,13 +1840,13 @@ impl<'a, T, P> FusedIterator for SplitMut<'a, T, P> where P: FnMut(&T) -> bool {
18401840///
18411841/// [`rsplit`]: ../../std/primitive.slice.html#method.rsplit
18421842/// [slices]: ../../std/primitive.slice.html
1843- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1843+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
18441844#[ derive( Clone ) ] // Is this correct, or does it incorrectly require `T: Clone`?
18451845pub struct RSplit < ' a , T : ' a , P > where P : FnMut ( & T ) -> bool {
18461846 inner : Split < ' a , T , P >
18471847}
18481848
1849- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1849+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
18501850impl < ' a , T : ' a + fmt:: Debug , P > fmt:: Debug for RSplit < ' a , T , P > where P : FnMut ( & T ) -> bool {
18511851 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
18521852 f. debug_struct ( "RSplit" )
@@ -1856,7 +1856,7 @@ impl<'a, T: 'a + fmt::Debug, P> fmt::Debug for RSplit<'a, T, P> where P: FnMut(&
18561856 }
18571857}
18581858
1859- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1859+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
18601860impl < ' a , T , P > Iterator for RSplit < ' a , T , P > where P : FnMut ( & T ) -> bool {
18611861 type Item = & ' a [ T ] ;
18621862
@@ -1871,23 +1871,23 @@ impl<'a, T, P> Iterator for RSplit<'a, T, P> where P: FnMut(&T) -> bool {
18711871 }
18721872}
18731873
1874- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1874+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
18751875impl < ' a , T , P > DoubleEndedIterator for RSplit < ' a , T , P > where P : FnMut ( & T ) -> bool {
18761876 #[ inline]
18771877 fn next_back ( & mut self ) -> Option < & ' a [ T ] > {
18781878 self . inner . next ( )
18791879 }
18801880}
18811881
1882- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1882+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
18831883impl < ' a , T , P > SplitIter for RSplit < ' a , T , P > where P : FnMut ( & T ) -> bool {
18841884 #[ inline]
18851885 fn finish ( & mut self ) -> Option < & ' a [ T ] > {
18861886 self . inner . finish ( )
18871887 }
18881888}
18891889
1890- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1890+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
18911891impl < ' a , T , P > FusedIterator for RSplit < ' a , T , P > where P : FnMut ( & T ) -> bool { }
18921892
18931893/// An iterator over the subslices of the vector which are separated
@@ -1897,12 +1897,12 @@ impl<'a, T, P> FusedIterator for RSplit<'a, T, P> where P: FnMut(&T) -> bool {}
18971897///
18981898/// [`rsplit_mut`]: ../../std/primitive.slice.html#method.rsplit_mut
18991899/// [slices]: ../../std/primitive.slice.html
1900- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1900+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
19011901pub struct RSplitMut < ' a , T : ' a , P > where P : FnMut ( & T ) -> bool {
19021902 inner : SplitMut < ' a , T , P >
19031903}
19041904
1905- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1905+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
19061906impl < ' a , T : ' a + fmt:: Debug , P > fmt:: Debug for RSplitMut < ' a , T , P > where P : FnMut ( & T ) -> bool {
19071907 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
19081908 f. debug_struct ( "RSplitMut" )
@@ -1912,15 +1912,15 @@ impl<'a, T: 'a + fmt::Debug, P> fmt::Debug for RSplitMut<'a, T, P> where P: FnMu
19121912 }
19131913}
19141914
1915- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1915+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
19161916impl < ' a , T , P > SplitIter for RSplitMut < ' a , T , P > where P : FnMut ( & T ) -> bool {
19171917 #[ inline]
19181918 fn finish ( & mut self ) -> Option < & ' a mut [ T ] > {
19191919 self . inner . finish ( )
19201920 }
19211921}
19221922
1923- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1923+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
19241924impl < ' a , T , P > Iterator for RSplitMut < ' a , T , P > where P : FnMut ( & T ) -> bool {
19251925 type Item = & ' a mut [ T ] ;
19261926
@@ -1935,7 +1935,7 @@ impl<'a, T, P> Iterator for RSplitMut<'a, T, P> where P: FnMut(&T) -> bool {
19351935 }
19361936}
19371937
1938- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1938+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
19391939impl < ' a , T , P > DoubleEndedIterator for RSplitMut < ' a , T , P > where
19401940 P : FnMut ( & T ) -> bool ,
19411941{
@@ -1945,7 +1945,7 @@ impl<'a, T, P> DoubleEndedIterator for RSplitMut<'a, T, P> where
19451945 }
19461946}
19471947
1948- #[ unstable ( feature = "slice_rsplit" , issue = "41020 " ) ]
1948+ #[ stable ( feature = "slice_rsplit" , since = "1.27.0 " ) ]
19491949impl < ' a , T , P > FusedIterator for RSplitMut < ' a , T , P > where P : FnMut ( & T ) -> bool { }
19501950
19511951/// An private iterator over subslices separated by elements that
0 commit comments