]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #99544 - dylni:expose-utf8lossy, r=Mark-Simulacrum
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 20 Aug 2022 17:32:07 +0000 (19:32 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Aug 2022 17:32:07 +0000 (19:32 +0200)
commitd49906519be1e071f771b1126f13d41e8106a24e
treefba3afb7236211e2b40b2064720cac75ddabe0a1
parent2be85b0d03d4650a3f6acec6322faeee3556d5fd
parente8ee0b7b2b9f004c51f7a10eeff0fbfe79af28d8
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
library/alloc/src/lib.rs
library/alloc/src/string.rs
library/core/src/str/mod.rs
library/core/tests/lib.rs
library/std/src/lib.rs