Skip to content

Commit

Permalink
bump split_inclusive stabilization to 1.51.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus authored Jan 13, 2021
1 parent e4a2f33 commit 5584224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/str/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 5584224

Please sign in to comment.