Skip to content

Commit 73db2ca

Browse files
committed
fix?
1 parent 72d8d48 commit 73db2ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pglt_statement_splitter/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ impl Parser {
189189
/// On windows, a newline is represented by `\r\n` which is two characters.
190190
fn is_irrelevant_token(t: &Token) -> bool {
191191
WHITESPACE_TOKENS.contains(&t.kind)
192-
&& (t.kind != SyntaxKind::Newline || t.text == "\r\n" || t.text.chars.count() == 1)
192+
&& (t.kind != SyntaxKind::Newline || t.text == "\r\n" || t.text.chars().count() == 1)
193193
}
194194

195195
#[cfg(not(windows))]

0 commit comments

Comments
 (0)