summary refs log tree commit diff
path: root/library/alloc/src/str.rs
diff options
context:
space:
mode:
authordylni <46035563+dylni@users.noreply.github.com>2022-08-20 12:49:20 -0400
committerdylni <46035563+dylni@users.noreply.github.com>2022-08-20 12:49:20 -0400
commite8ee0b7b2b9f004c51f7a10eeff0fbfe79af28d8 (patch)
tree4ef797f37187cda4f605124c1d085854ccc7729c /library/alloc/src/str.rs
parentbe9cfb307e6928600a9769695e02d6296e8e1174 (diff)
downloadrust-e8ee0b7b2b9f004c51f7a10eeff0fbfe79af28d8.tar.gz
rust-e8ee0b7b2b9f004c51f7a10eeff0fbfe79af28d8.zip
Expose `Utf8Lossy` as `Utf8Chunks`
Diffstat (limited to 'library/alloc/src/str.rs')
-rw-r--r--library/alloc/src/str.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/alloc/src/str.rs b/library/alloc/src/str.rs
index d5ed2c4adf4..b94b1b1ce21 100644
--- a/library/alloc/src/str.rs
+++ b/library/alloc/src/str.rs
@@ -71,6 +71,8 @@ pub use core::str::{RSplit, Split};
 pub use core::str::{RSplitN, SplitN};
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use core::str::{RSplitTerminator, SplitTerminator};
+#[unstable(feature = "utf8_chunks", issue = "99543")]
+pub use core::str::{Utf8Chunk, Utf8Chunks};
 
 /// Note: `str` in `Concat<str>` is not meaningful here.
 /// This type parameter of the trait only exists to enable another impl.