Skip to content

Commit 5f4ac78

Browse files
committed
the right way I suppose v26
1 parent fc5a8c9 commit 5f4ac78

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/tokenizer.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,12 +2019,6 @@ impl<'a> Tokenizer<'a> {
20192019
} else if dialect_of!(self is SnowflakeDialect) {
20202020
s.push(ch);
20212021
chars.next();
2022-
if let Some(next) = chars.peek() {
2023-
s.push(*next);
2024-
//no `chars.next()` to avoid the edge case
2025-
// where '\\b['] where `[ ]` is the char we would be next at,
2026-
// since `chars.next()` wouldn't allow us to terminate this string
2027-
}
20282022
} else {
20292023
let n = match next {
20302024
'0' => '\0',

0 commit comments

Comments
 (0)