Skip to content

Commit 0bcf4e4

Browse files
Jules BertholetJules-Bertholet
authored andcommitted
Implement all iterator variants for string slices
1 parent 619283a commit 0bcf4e4

File tree

3 files changed

+402
-425
lines changed

3 files changed

+402
-425
lines changed

library/alloc/src/str.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ pub use core::str::{MatchIndices, RMatchIndices};
6767
pub use core::str::{Matches, RMatches};
6868
#[stable(feature = "rust1", since = "1.0.0")]
6969
pub use core::str::{RSplit, Split};
70+
#[unstable(feature = "split_inclusive_variants", issue = "none")]
71+
pub use core::str::{
72+
RSplitInclusive, RSplitLeftInclusive, RSplitNInclusive, RSplitNLeftInclusive,
73+
SplitLeftInclusive, SplitNInclusive, SplitNLeftInclusive,
74+
};
7075
#[stable(feature = "rust1", since = "1.0.0")]
7176
pub use core::str::{RSplitN, SplitN};
7277
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)