mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-06 12:04:36 +00:00
a1c07214f0
- Rename it as `MixedUnit`, because it will soon be used in more than just C string literals. - Change the `Byte` variant to `HighByte` and use it only for `\x80`..`\xff` cases. This fixes the old inexactness where ASCII chars could be encoded with either `Byte` or `Char`. - Add useful comments. - Remove `is_ascii`, in favour of `u8::is_ascii`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |