mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
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. |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| Cargo.toml | ||