about summary refs log tree commit diff
path: root/src/liballoc/str.rs
diff options
context:
space:
mode:
authorClar Charr <clar@charr.xyz>2018-05-05 00:33:20 -0400
committerClar Charr <clar@charr.xyz>2018-06-27 17:54:27 -0400
commitb5cee029a55cd35fcdad52acb294a04ebff1f341 (patch)
tree038c8066457355be5193c16c4efe8e9a2bc3af21 /src/liballoc/str.rs
parent23b55161ab4cb6d4bf868ac575bd174ca2de0ffa (diff)
downloadrust-b5cee029a55cd35fcdad52acb294a04ebff1f341.tar.gz
rust-b5cee029a55cd35fcdad52acb294a04ebff1f341.zip
Add str::split_ascii_whitespace.
Diffstat (limited to 'src/liballoc/str.rs')
-rw-r--r--src/liballoc/str.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/str.rs b/src/liballoc/str.rs
index 32ca8d1fa5e..ec9c39c916c 100644
--- a/src/liballoc/str.rs
+++ b/src/liballoc/str.rs
@@ -78,6 +78,8 @@ pub use core::str::SplitWhitespace;
 pub use core::str::pattern;
 #[stable(feature = "encode_utf16", since = "1.8.0")]
 pub use core::str::EncodeUtf16;
+#[unstable(feature = "split_ascii_whitespace", issue = "48656")]
+pub use core::str::SplitAsciiWhitespace;
 
 #[unstable(feature = "slice_concat_ext",
            reason = "trait should not have to exist",