Skip to content

Commit 4c4545a

Browse files
committed
Expose str::SplitInclusive in alloc and therefore in std
This seems to have been omitted from the beginning when this feature was first introduced in 86bf962. Most users won't need to name this type which is probably why this wasn't noticed in the meantime. Signed-off-by: Ian Jackson <[email protected]>
1 parent 959c9a9 commit 4c4545a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

alloc/src/str.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ pub use core::str::pattern;
4646
pub use core::str::EncodeUtf16;
4747
#[stable(feature = "split_ascii_whitespace", since = "1.34.0")]
4848
pub use core::str::SplitAsciiWhitespace;
49+
#[stable(feature = "split_inclusive", since = "1.51.0")]
50+
pub use core::str::SplitInclusive;
4951
#[stable(feature = "rust1", since = "1.0.0")]
5052
pub use core::str::SplitWhitespace;
5153
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)