rust-analyzer/crates/syntax
Nicholas Nethercote 0b8345c60e 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
..
fuzz Use Cargo's [workspace.lints.*] to config clippy 2023-12-29 23:51:32 +09:00
src Rework CStrUnit. 2024-01-25 12:28:11 +11:00
test_data Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
Cargo.toml Split out rustc_lexer from rustc_dependencies 2024-01-08 15:24:46 +01:00
rust.ungram fix PathSegment grammar 2023-11-12 11:20:14 +08:00