Skip to content

Commit e4a2f33

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

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

library/core/src/str/iter.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ pub struct SplitAsciiWhitespace<'a> {
11741174
/// See its documentation for more.
11751175
///
11761176
/// [`split_inclusive`]: str::split_inclusive
1177-
#[stable(feature = "split_inclusive", since = "1.49.0")]
1177+
#[stable(feature = "split_inclusive", since = "1.51.0")]
11781178
pub struct SplitInclusive<'a, P: Pattern<'a>>(pub(super) SplitInternal<'a, P>);
11791179

11801180
#[stable(feature = "split_whitespace", since = "1.1.0")]
@@ -1239,7 +1239,7 @@ impl<'a> DoubleEndedIterator for SplitAsciiWhitespace<'a> {
12391239
#[stable(feature = "split_ascii_whitespace", since = "1.34.0")]
12401240
impl FusedIterator for SplitAsciiWhitespace<'_> {}
12411241

1242-
#[stable(feature = "split_inclusive", since = "1.49.0")]
1242+
#[stable(feature = "split_inclusive", since = "1.51.0")]
12431243
impl<'a, P: Pattern<'a>> Iterator for SplitInclusive<'a, P> {
12441244
type Item = &'a str;
12451245

@@ -1249,22 +1249,22 @@ impl<'a, P: Pattern<'a>> Iterator for SplitInclusive<'a, P> {
12491249
}
12501250
}
12511251

1252-
#[stable(feature = "split_inclusive", since = "1.49.0")]
1252+
#[stable(feature = "split_inclusive", since = "1.51.0")]
12531253
impl<'a, P: Pattern<'a, Searcher: fmt::Debug>> fmt::Debug for SplitInclusive<'a, P> {
12541254
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
12551255
f.debug_struct("SplitInclusive").field("0", &self.0).finish()
12561256
}
12571257
}
12581258

12591259
// FIXME(#26925) Remove in favor of `#[derive(Clone)]`
1260-
#[stable(feature = "split_inclusive", since = "1.49.0")]
1260+
#[stable(feature = "split_inclusive", since = "1.51.0")]
12611261
impl<'a, P: Pattern<'a, Searcher: Clone>> Clone for SplitInclusive<'a, P> {
12621262
fn clone(&self) -> Self {
12631263
SplitInclusive(self.0.clone())
12641264
}
12651265
}
12661266

1267-
#[stable(feature = "split_inclusive", since = "1.49.0")]
1267+
#[stable(feature = "split_inclusive", since = "1.51.0")]
12681268
impl<'a, P: Pattern<'a, Searcher: ReverseSearcher<'a>>> DoubleEndedIterator
12691269
for SplitInclusive<'a, P>
12701270
{
@@ -1274,7 +1274,7 @@ impl<'a, P: Pattern<'a, Searcher: ReverseSearcher<'a>>> DoubleEndedIterator
12741274
}
12751275
}
12761276

1277-
#[stable(feature = "split_inclusive", since = "1.49.0")]
1277+
#[stable(feature = "split_inclusive", since = "1.51.0")]
12781278
impl<'a, P: Pattern<'a>> FusedIterator for SplitInclusive<'a, P> {}
12791279

12801280
impl<'a, P: Pattern<'a>> SplitInclusive<'a, P> {

0 commit comments

Comments
 (0)