@burntsushi5 Hey, just curious: Why does your bstr crate implement its own UTF-8 validation, Utf8Error type, etc., instead of using the standard library's core::str::from_utf8? Is yours optimized for something else?
The lack of simpler UTF-8 decoding APIs in std is also why bstr exposes some of its building blocks: https://docs.rs/bstr/0.2.8/bstr/fn.decode_utf8.html … --- This API is effectively exactly what the `Chars` iterator itself uses internally: https://docs.rs/bstr/0.2.8/src/bstr/utf8.rs.html#111 …