oxc/crates/oxc_parser
overlookmotel 19577709db
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.
2023-12-29 10:07:21 +08:00
..
examples chore(clippy): enable undocumented_unsafe_blocks 2023-10-16 15:18:14 +08:00
src Remove redundant code from lexer (#1850) 2023-12-29 10:07:21 +08:00
Cargo.toml chore(deps): bump the dependencies group with 7 updates (#1651) 2023-12-11 14:21:56 +08:00