diff options
| author | Ashley Mannix <kodraus@hey.com> | 2021-01-13 13:49:34 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-13 13:49:34 +1000 |
| commit | 0620514094ec1d7b73c6f5ef86f92bc31a254ef2 (patch) | |
| tree | 6e5922739553295ee7160b2897e65dd272929f56 | |
| parent | bd2c072b9b85847a7fe18e66398f2b607e2691a2 (diff) | |
| download | rust-0620514094ec1d7b73c6f5ef86f92bc31a254ef2.tar.gz rust-0620514094ec1d7b73c6f5ef86f92bc31a254ef2.zip | |
bump split_inclusive stabilization to 1.51.0
| -rw-r--r-- | library/core/src/slice/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs index c19b323a422..143542f4919 100644 --- a/library/core/src/slice/mod.rs +++ b/library/core/src/slice/mod.rs @@ -60,7 +60,7 @@ pub use iter::ArrayWindows; #[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 @@ impl<T> [T] { /// 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 @@ impl<T> [T] { /// } /// 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 |
