We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72d8d48 commit 73db2caCopy full SHA for 73db2ca
crates/pglt_statement_splitter/src/parser.rs
@@ -189,7 +189,7 @@ impl Parser {
189
/// On windows, a newline is represented by `\r\n` which is two characters.
190
fn is_irrelevant_token(t: &Token) -> bool {
191
WHITESPACE_TOKENS.contains(&t.kind)
192
- && (t.kind != SyntaxKind::Newline || t.text == "\r\n" || t.text.chars.count() == 1)
+ && (t.kind != SyntaxKind::Newline || t.text == "\r\n" || t.text.chars().count() == 1)
193
}
194
195
#[cfg(not(windows))]
0 commit comments