#27808 proposes exposing in std::char two iterator adaptors Utf16Decoder and Utf16LossyDecoder. This functionality was previously only available with an API that require allocation (String::from_utf16{,_lossy}) or using the unstable rustc_unicode crate directly.
They are exposed unstable with a new utf16_decoder feature name. I’d like to stabilize them when we’re confident with the naming and API.
#27808 proposes exposing in
std::chartwo iterator adaptorsUtf16DecoderandUtf16LossyDecoder. This functionality was previously only available with an API that require allocation (String::from_utf16{,_lossy}) or using the unstablerustc_unicodecrate directly.They are exposed unstable with a new
utf16_decoderfeature name. I’d like to stabilize them when we’re confident with the naming and API.