mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
bump split_inclusive stabilization to 1.51.0
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
#[unstable(feature = "slice_group_by", issue = "80552")]
|
||||
pub use iter::{GroupBy, GroupByMut};
|
||||
|
||||
#[stable(feature = "split_inclusive", since = "1.49.0")]
|
||||
#[stable(feature = "split_inclusive", since = "1.51.0")]
|
||||
pub use iter::{SplitInclusive, SplitInclusiveMut};
|
||||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
@@ -1569,7 +1569,7 @@ pub fn split_mut<F>(&mut self, pred: F) -> SplitMut<'_, T, F>
|
||||
/// assert_eq!(iter.next().unwrap(), &[10, 40, 33]);
|
||||
/// assert!(iter.next().is_none());
|
||||
/// ```
|
||||
#[stable(feature = "split_inclusive", since = "1.49.0")]
|
||||
#[stable(feature = "split_inclusive", since = "1.51.0")]
|
||||
#[inline]
|
||||
pub fn split_inclusive<F>(&self, pred: F) -> SplitInclusive<'_, T, F>
|
||||
where
|
||||
@@ -1593,7 +1593,7 @@ pub fn split_inclusive<F>(&self, pred: F) -> SplitInclusive<'_, T, F>
|
||||
/// }
|
||||
/// assert_eq!(v, [10, 40, 1, 20, 1, 1]);
|
||||
/// ```
|
||||
#[stable(feature = "split_inclusive", since = "1.49.0")]
|
||||
#[stable(feature = "split_inclusive", since = "1.51.0")]
|
||||
#[inline]
|
||||
pub fn split_inclusive_mut<F>(&mut self, pred: F) -> SplitInclusiveMut<'_, T, F>
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user