Nicholas Nethercote
56514076ac
Rework CStrUnit
.
...
- 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`.
2024-01-25 12:28:11 +11:00
..
2024-01-21 16:53:06 +02:00
2024-01-03 11:35:07 +02:00
2024-01-03 11:35:07 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-03 11:35:07 +02:00
2024-01-03 11:35:07 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-03 11:35:07 +02:00
2024-01-15 11:40:09 +02:00
2024-01-18 07:01:29 +00:00
2024-01-15 11:40:09 +02:00
2024-01-03 11:35:07 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-03 11:35:07 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-25 12:28:11 +11:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00
2024-01-03 11:35:07 +02:00
2024-01-03 11:35:07 +02:00
2024-01-03 11:35:07 +02:00
2024-01-21 16:53:06 +02:00
2024-01-21 16:53:06 +02:00