![]() Weirdly enough, we got the parsing wrong for byte literals in expressions (but did okay in constants). But got the formatting wrong in constants (yet did okay for formatting expressions). I've factored out the code in both cases to avoid the duplication that led to this in the first place. Plus added test coverage to make sure this doesn't happen in the future. |
||
---|---|---|
.. | ||
format.rs | ||
lexer.rs | ||
mod.rs | ||
parser.rs |