Skip to content

Commit 0620514

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/slice/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub use iter::ArrayWindows;
6060
#[unstable(feature = "slice_group_by", issue = "80552")]
6161
pub use iter::{GroupBy, GroupByMut};
6262

63-
#[stable(feature = "split_inclusive", since = "1.49.0")]
63+
#[stable(feature = "split_inclusive", since = "1.51.0")]
6464
pub use iter::{SplitInclusive, SplitInclusiveMut};
6565

6666
#[stable(feature = "rust1", since = "1.0.0")]
@@ -1569,7 +1569,7 @@ impl<T> [T] {
15691569
/// assert_eq!(iter.next().unwrap(), &[10, 40, 33]);
15701570
/// assert!(iter.next().is_none());
15711571
/// ```
1572-
#[stable(feature = "split_inclusive", since = "1.49.0")]
1572+
#[stable(feature = "split_inclusive", since = "1.51.0")]
15731573
#[inline]
15741574
pub fn split_inclusive<F>(&self, pred: F) -> SplitInclusive<'_, T, F>
15751575
where
@@ -1593,7 +1593,7 @@ impl<T> [T] {
15931593
/// }
15941594
/// assert_eq!(v, [10, 40, 1, 20, 1, 1]);
15951595
/// ```
1596-
#[stable(feature = "split_inclusive", since = "1.49.0")]
1596+
#[stable(feature = "split_inclusive", since = "1.51.0")]
15971597
#[inline]
15981598
pub fn split_inclusive_mut<F>(&mut self, pred: F) -> SplitInclusiveMut<'_, T, F>
15991599
where

0 commit comments

Comments
 (0)