expr: add missing word to comment

This commit is contained in:
Daniel Hofstetter 2023-10-15 14:30:17 +02:00 committed by GitHub
parent 46b8b41e3f
commit 6ef5b272da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,7 @@ fn maybe_dump_tokens_acc(tokens_acc: &[(usize, Token)]) {
}
fn push_token_if_not_escaped(acc: &mut Vec<(usize, Token)>, tok_idx: usize, token: Token, s: &str) {
// `+` may escaped such as `expr + 1` and `expr 1 + + 1`
// `+` may be escaped such as `expr + 1` and `expr 1 + + 1`
let prev_is_plus = match acc.last() {
None => false,
Some(t) => t.1.is_infix_plus(),