Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant code from lexer (#1850)
Just removes a couple of lines of redundant code from the lexer. A note on the 2nd one: ```rs let mut builder = AutoCow::new(lexer); let c = lexer.consume_char(); builder.push_matching(c); ``` `push_matching()` is a no-op unless `force_allocation_without_current_ascii_char()` has already been called. Here the `AutoCow` has just been freshly created, so we know it hasn't.
- Loading branch information