rust/compiler
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-25 12:28:11 +11:00
2024-01-17 03:14:16 +01:00
2024-01-19 20:10:39 -08:00
2024-01-22 10:14:01 +11:00
2024-01-17 03:14:16 +01:00
2024-01-22 10:14:01 +11:00
2024-01-25 12:28:11 +11:00
2024-01-20 16:52:18 -03:00
2024-01-22 10:14:01 +11:00
2024-01-19 11:09:30 +01:00