Closed
Description
#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.