You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Request: standard library function/type/whatever to parse utf-8 from an iterator #90643
There's char::decode_utf16, and there's an iterator adapter to turn a byte iterator over utf-8 into a char iterator that's used by str::chars, but there's no thing like decode_utf8 where an iterator over bytes is decoded as things go.
There's
char::decode_utf16, and there's an iterator adapter to turn a byte iterator over utf-8 into a char iterator that's used bystr::chars, but there's no thing likedecode_utf8where an iterator over bytes is decoded as things go.