rust/compiler/rustc_lexer
Nicholas Nethercote 34b32b0dac Use Mode less.
It's passed to numerous places where we just need an `is_byte` bool.
Passing the bool avoids the need for some assertions.

Also rename `is_bytes()` as `is_byte()`, to better match `Mode::Byte`,
`Mode::ByteStr`, and `Mode::RawByteStr`.
2022-11-03 15:58:19 +11:00
..
2022-11-03 15:58:19 +11:00
2022-09-29 16:49:04 +09:00