Function core::char::decode_utf8[][src]

Important traits for DecodeUtf8<I>
pub fn decode_utf8<I: IntoIterator<Item = u8>>(i: I) -> DecodeUtf8<I::IntoIter>
Deprecated since 1.27.0

: Use str::from_utf8 instead: https://doc.rust-lang.org/nightly/std/str/struct.Utf8Error.html#examples

🔬 This is a nightly-only experimental API. (decode_utf8 #33906)

Decodes an Iterator of bytes as UTF-8.