diff options
| author | Ashley Mannix <kodraus@hey.com> | 2021-01-13 13:51:37 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-13 13:51:37 +1000 |
| commit | 5584224fdacc0af6d72e023e247b1e3076fa44d8 (patch) | |
| tree | e73d59d69a925cbf501f79047a8cf3a8c1062b4e | |
| parent | e4a2f333605983e917cd5f728542fc9982a6d5c3 (diff) | |
| download | rust-5584224fdacc0af6d72e023e247b1e3076fa44d8.tar.gz rust-5584224fdacc0af6d72e023e247b1e3076fa44d8.zip | |
bump split_inclusive stabilization to 1.51.0
| -rw-r--r-- | library/core/src/str/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index e71d5889bd1..3345654b923 100644 --- a/library/core/src/str/mod.rs +++ b/library/core/src/str/mod.rs @@ -65,7 +65,7 @@ pub use iter::{EscapeDebug, EscapeDefault, EscapeUnicode}; #[stable(feature = "split_ascii_whitespace", since = "1.34.0")] pub use iter::SplitAsciiWhitespace; -#[stable(feature = "split_inclusive", since = "1.49.0")] +#[stable(feature = "split_inclusive", since = "1.51.0")] use iter::SplitInclusive; #[unstable(feature = "str_internals", issue = "none")] @@ -1241,7 +1241,7 @@ impl str { /// .split_inclusive('\n').collect(); /// assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]); /// ``` - #[stable(feature = "split_inclusive", since = "1.49.0")] + #[stable(feature = "split_inclusive", since = "1.51.0")] #[inline] pub fn split_inclusive<'a, P: Pattern<'a>>(&'a self, pat: P) -> SplitInclusive<'a, P> { SplitInclusive(SplitInternal { |
