Skip to content

Commit 5584224

Browse files
authored
bump split_inclusive stabilization to 1.51.0
1 parent e4a2f33 commit 5584224

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/str/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub use iter::{EscapeDebug, EscapeDefault, EscapeUnicode};
6565
#[stable(feature = "split_ascii_whitespace", since = "1.34.0")]
6666
pub use iter::SplitAsciiWhitespace;
6767

68-
#[stable(feature = "split_inclusive", since = "1.49.0")]
68+
#[stable(feature = "split_inclusive", since = "1.51.0")]
6969
use iter::SplitInclusive;
7070

7171
#[unstable(feature = "str_internals", issue = "none")]
@@ -1241,7 +1241,7 @@ impl str {
12411241
/// .split_inclusive('\n').collect();
12421242
/// assert_eq!(v, ["Mary had a little lamb\n", "little lamb\n", "little lamb.\n"]);
12431243
/// ```
1244-
#[stable(feature = "split_inclusive", since = "1.49.0")]
1244+
#[stable(feature = "split_inclusive", since = "1.51.0")]
12451245
#[inline]
12461246
pub fn split_inclusive<'a, P: Pattern<'a>>(&'a self, pat: P) -> SplitInclusive<'a, P> {
12471247
SplitInclusive(SplitInternal {

0 commit comments

Comments
 (0)