Skip to content

Commit bd2c072

Browse files
authored
bump split_inclusive stabilization to 1.51.0
1 parent 2c1d655 commit bd2c072

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

library/core/src/slice/iter.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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")]
456456
pub struct SplitInclusive<'a, T: 'a, P>
457457
where
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")]
473473
impl<T: fmt::Debug, P> fmt::Debug for SplitInclusive<'_, T, P>
474474
where
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")]
487487
impl<T, P> Clone for SplitInclusive<'_, T, P>
488488
where
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")]
497497
impl<'a, T, P> Iterator for SplitInclusive<'a, T, P>
498498
where
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")]
526526
impl<'a, T, P> DoubleEndedIterator for SplitInclusive<'a, T, P>
527527
where
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")]
551551
impl<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")]
697697
pub struct SplitInclusiveMut<'a, T: 'a, P>
698698
where
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")]
714714
impl<T: fmt::Debug, P> fmt::Debug for SplitInclusiveMut<'_, T, P>
715715
where
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")]
727727
impl<'a, T, P> Iterator for SplitInclusiveMut<'a, T, P>
728728
where
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")]
767767
impl<'a, T, P> DoubleEndedIterator for SplitInclusiveMut<'a, T, P>
768768
where
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")]
801801
impl<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

Comments
 (0)