@@ -452,7 +452,7 @@ impl<T, P> FusedIterator for Split<'_, T, P> where P: FnMut(&T) -> bool {}
452
452
///
453
453
/// [`split_inclusive`]: ../../std/primitive.slice.html#method.split_inclusive
454
454
/// [slices]: ../../std/primitive.slice.html
455
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
455
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
456
456
pub struct SplitInclusive < ' a , T : ' a , P >
457
457
where
458
458
P : FnMut ( & T ) -> bool ,
@@ -469,7 +469,7 @@ impl<'a, T: 'a, P: FnMut(&T) -> bool> SplitInclusive<'a, T, P> {
469
469
}
470
470
}
471
471
472
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
472
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
473
473
impl < T : fmt:: Debug , P > fmt:: Debug for SplitInclusive < ' _ , T , P >
474
474
where
475
475
P : FnMut ( & T ) -> bool ,
@@ -483,7 +483,7 @@ where
483
483
}
484
484
485
485
// 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" ) ]
487
487
impl < T , P > Clone for SplitInclusive < ' _ , T , P >
488
488
where
489
489
P : Clone + FnMut ( & T ) -> bool ,
@@ -493,7 +493,7 @@ where
493
493
}
494
494
}
495
495
496
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
496
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
497
497
impl < ' a , T , P > Iterator for SplitInclusive < ' a , T , P >
498
498
where
499
499
P : FnMut ( & T ) -> bool ,
@@ -522,7 +522,7 @@ where
522
522
}
523
523
}
524
524
525
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
525
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
526
526
impl < ' a , T , P > DoubleEndedIterator for SplitInclusive < ' a , T , P >
527
527
where
528
528
P : FnMut ( & T ) -> bool ,
@@ -547,7 +547,7 @@ where
547
547
}
548
548
}
549
549
550
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
550
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
551
551
impl < T , P > FusedIterator for SplitInclusive < ' _ , T , P > where P : FnMut ( & T ) -> bool { }
552
552
553
553
/// 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 {}
693
693
///
694
694
/// [`split_inclusive_mut`]: ../../std/primitive.slice.html#method.split_inclusive_mut
695
695
/// [slices]: ../../std/primitive.slice.html
696
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
696
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
697
697
pub struct SplitInclusiveMut < ' a , T : ' a , P >
698
698
where
699
699
P : FnMut ( & T ) -> bool ,
@@ -710,7 +710,7 @@ impl<'a, T: 'a, P: FnMut(&T) -> bool> SplitInclusiveMut<'a, T, P> {
710
710
}
711
711
}
712
712
713
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
713
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
714
714
impl < T : fmt:: Debug , P > fmt:: Debug for SplitInclusiveMut < ' _ , T , P >
715
715
where
716
716
P : FnMut ( & T ) -> bool ,
@@ -723,7 +723,7 @@ where
723
723
}
724
724
}
725
725
726
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
726
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
727
727
impl < ' a , T , P > Iterator for SplitInclusiveMut < ' a , T , P >
728
728
where
729
729
P : FnMut ( & T ) -> bool ,
@@ -763,7 +763,7 @@ where
763
763
}
764
764
}
765
765
766
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
766
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
767
767
impl < ' a , T , P > DoubleEndedIterator for SplitInclusiveMut < ' a , T , P >
768
768
where
769
769
P : FnMut ( & T ) -> bool ,
@@ -797,7 +797,7 @@ where
797
797
}
798
798
}
799
799
800
- #[ stable( feature = "split_inclusive" , since = "1.49 .0" ) ]
800
+ #[ stable( feature = "split_inclusive" , since = "1.51 .0" ) ]
801
801
impl < T , P > FusedIterator for SplitInclusiveMut < ' _ , T , P > where P : FnMut ( & T ) -> bool { }
802
802
803
803
/// An iterator over subslices separated by elements that match a predicate
0 commit comments