about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAshley Mannix <kodraus@hey.com>2021-01-13 13:51:37 +1000
committerGitHub <noreply@github.com>2021-01-13 13:51:37 +1000
commit5584224fdacc0af6d72e023e247b1e3076fa44d8 (patch)
treee73d59d69a925cbf501f79047a8cf3a8c1062b4e
parente4a2f333605983e917cd5f728542fc9982a6d5c3 (diff)
downloadrust-5584224fdacc0af6d72e023e247b1e3076fa44d8.tar.gz
rust-5584224fdacc0af6d72e023e247b1e3076fa44d8.zip
bump split_inclusive stabilization to 1.51.0
-rw-r--r--library/core/src/str/mod.rs4
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 {