about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-20 19:32:07 +0200
committerGitHub <noreply@github.com>2022-08-20 19:32:07 +0200
commitd49906519be1e071f771b1126f13d41e8106a24e (patch)
treefba3afb7236211e2b40b2064720cac75ddabe0a1 /library/std/src/lib.rs
parent2be85b0d03d4650a3f6acec6322faeee3556d5fd (diff)
parente8ee0b7b2b9f004c51f7a10eeff0fbfe79af28d8 (diff)
downloadrust-d49906519be1e071f771b1126f13d41e8106a24e.tar.gz
rust-d49906519be1e071f771b1126f13d41e8106a24e.zip
Rollup merge of #99544 - dylni:expose-utf8lossy, r=Mark-Simulacrum
Expose `Utf8Lossy` as `Utf8Chunks`

This PR changes the feature for `Utf8Lossy` from `str_internals` to `utf8_lossy` and improves the API. This is done to eventually expose the API as stable.

Proposal: rust-lang/libs-team#54
Tracking Issue: #99543
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index a8d6645794a..8627be85422 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -258,6 +258,7 @@
 #![feature(staged_api)]
 #![feature(thread_local)]
 #![feature(try_blocks)]
+#![feature(utf8_chunks)]
 //
 // Library features (core):
 #![feature(array_error_internals)]