Skip to content

Commit eb4e8fc

Browse files
committed
the right way I suppose v22
1 parent f0fe45f commit eb4e8fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tokenizer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,9 +2033,9 @@ impl<'a> Tokenizer<'a> {
20332033
chars.next(); // consume next
20342034
} else if dialect_of!(self is SnowflakeDialect) {
20352035
s.push('\\');
2036-
s.push(*next);
20372036
chars.next();
2038-
if let Some(_) = chars.peek() {
2037+
if let Some(next) = chars.peek() {
2038+
s.push(*next);
20392039
chars.next();
20402040
}
20412041
} else {

0 commit comments

Comments
 (0)