@@ -452,7 +452,7 @@ impl<T, P> FusedIterator for Split<'_, T, P> where P: FnMut(&T) -> bool {}
452452///
453453/// [`split_inclusive`]: ../../std/primitive.slice.html#method.split_inclusive
454454/// [slices]: ../../std/primitive.slice.html
455- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
455+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
456456pub struct SplitInclusive < ' a , T : ' a , P >
457457where
458458 P : FnMut ( & T ) -> bool ,
@@ -469,7 +469,7 @@ impl<'a, T: 'a, P: FnMut(&T) -> bool> SplitInclusive<'a, T, P> {
469469 }
470470}
471471
472- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
472+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
473473impl < T : fmt:: Debug , P > fmt:: Debug for SplitInclusive < ' _ , T , P >
474474where
475475 P : FnMut ( & T ) -> bool ,
@@ -483,7 +483,7 @@ where
483483}
484484
485485// FIXME(#26925) Remove in favor of `#[derive(Clone)]`
486- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
486+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
487487impl < T , P > Clone for SplitInclusive < ' _ , T , P >
488488where
489489 P : Clone + FnMut ( & T ) -> bool ,
@@ -493,7 +493,7 @@ where
493493 }
494494}
495495
496- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
496+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
497497impl < ' a , T , P > Iterator for SplitInclusive < ' a , T , P >
498498where
499499 P : FnMut ( & T ) -> bool ,
@@ -522,7 +522,7 @@ where
522522 }
523523}
524524
525- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
525+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
526526impl < ' a , T , P > DoubleEndedIterator for SplitInclusive < ' a , T , P >
527527where
528528 P : FnMut ( & T ) -> bool ,
@@ -547,7 +547,7 @@ where
547547 }
548548}
549549
550- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
550+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
551551impl < T , P > FusedIterator for SplitInclusive < ' _ , T , P > where P : FnMut ( & T ) -> bool { }
552552
553553/// An iterator over the mutable subslices of the vector which are separated
@@ -693,7 +693,7 @@ impl<T, P> FusedIterator for SplitMut<'_, T, P> where P: FnMut(&T) -> bool {}
693693///
694694/// [`split_inclusive_mut`]: ../../std/primitive.slice.html#method.split_inclusive_mut
695695/// [slices]: ../../std/primitive.slice.html
696- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
696+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
697697pub struct SplitInclusiveMut < ' a , T : ' a , P >
698698where
699699 P : FnMut ( & T ) -> bool ,
@@ -710,7 +710,7 @@ impl<'a, T: 'a, P: FnMut(&T) -> bool> SplitInclusiveMut<'a, T, P> {
710710 }
711711}
712712
713- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
713+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
714714impl < T : fmt:: Debug , P > fmt:: Debug for SplitInclusiveMut < ' _ , T , P >
715715where
716716 P : FnMut ( & T ) -> bool ,
@@ -723,7 +723,7 @@ where
723723 }
724724}
725725
726- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
726+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
727727impl < ' a , T , P > Iterator for SplitInclusiveMut < ' a , T , P >
728728where
729729 P : FnMut ( & T ) -> bool ,
@@ -763,7 +763,7 @@ where
763763 }
764764}
765765
766- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
766+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
767767impl < ' a , T , P > DoubleEndedIterator for SplitInclusiveMut < ' a , T , P >
768768where
769769 P : FnMut ( & T ) -> bool ,
@@ -797,7 +797,7 @@ where
797797 }
798798}
799799
800- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
800+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
801801impl < T , P > FusedIterator for SplitInclusiveMut < ' _ , T , P > where P : FnMut ( & T ) -> bool { }
802802
803803/// An iterator over subslices separated by elements that match a predicate
0 commit comments