Skip to content

Commit 3f031ca

Browse files
committed
the right way I suppose v31
1 parent 77624b4 commit 3f031ca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/tokenizer.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,10 +2018,8 @@ impl<'a> Tokenizer<'a> {
20182018
chars.next(); // consume next
20192019
} else if dialect_of!(self is SnowflakeDialect) {
20202020
s.push(ch);
2021-
chars.next();
2022-
if let Some(next) = chars.peek() {
2023-
s.push(*next);
2024-
chars.next();
2021+
if let Some(next) = chars.next() {
2022+
s.push(next);
20252023
if let Some(next) = chars.peek() {
20262024
if *next == settings.quote_style {
20272025
num_consecutive_quotes += 1;

0 commit comments

Comments
 (0)