Nicholas Nethercote
a1c07214f0
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-16 21:15:31 +01:00
2024-01-19 09:42:51 +00:00
2024-01-25 12:28:11 +11:00
2024-01-19 20:10:39 -08:00
2024-01-19 13:38:24 -05:00
2024-01-17 03:14:16 +01:00
2024-01-19 20:10:39 -08:00
2024-01-23 08:09:05 +11:00
2024-01-22 13:08:19 +00:00
2024-01-19 19:27:00 +01:00
2024-01-19 10:52:01 +01:00
2024-01-23 08:09:01 +11:00
2024-01-23 08:09:05 +11:00
2024-01-22 13:08:19 +00:00
2024-01-19 20:38:51 +00:00
2024-01-22 10:14:01 +11:00
2024-01-19 20:10:39 -08:00
2024-01-22 14:24:31 +00:00
2024-01-22 22:12:08 +01:00
2024-01-23 08:09:05 +11:00
2024-01-17 03:14:16 +01:00
2024-01-23 00:06:57 +00:00
2024-01-22 10:14:01 +11:00
2024-01-19 15:38:47 +00:00
2024-01-22 13:23:45 +00:00
2024-01-22 22:12:09 +01:00
2024-01-25 12:28:11 +11:00
2024-01-23 00:06:57 +00:00
2024-01-22 16:13:28 +01:00
2024-01-23 07:59:45 +11:00
2024-01-19 19:27:00 +01:00
2024-01-23 00:06:57 +00:00
2024-01-23 08:09:05 +11:00
2024-01-20 16:52:18 -03:00
2024-01-23 08:09:05 +11:00
2024-01-23 08:09:05 +11:00
2024-01-20 20:06:34 +01:00
2024-01-22 16:54:56 +01:00
2024-01-23 08:09:05 +11:00
2024-01-23 08:09:05 +11:00
2024-01-23 08:09:05 +11:00
2024-01-22 10:14:01 +11:00
2024-01-22 16:13:25 +01:00
2024-01-19 19:26:59 +01:00
2024-01-23 00:06:57 +00:00
2024-01-19 11:25:38 +00:00
2024-01-22 22:12:08 +01:00
2024-01-19 11:09:30 +01:00
2024-01-23 00:06:57 +00:00
2024-01-17 21:27:34 -05:00
2024-01-19 21:28:37 +00:00
2024-01-19 15:38:47 +00:00
2024-01-19 16:37:50 +00:00