Update crates/ruff_python_parser/src/lexer.rs

This commit is contained in:
Micha Reiser 2025-12-10 17:26:32 +01:00 committed by GitHub
parent c4e32ea180
commit 224d6df8d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -1543,8 +1543,6 @@ impl<'src> Lexer<'src> {
} }
} }
dbg!("Handle unclosed string");
if self.errors.last().is_some_and(|error| { if self.errors.last().is_some_and(|error| {
error.location() == self.current_range error.location() == self.current_range
&& matches!(error.error(), LexicalErrorType::UnclosedStringError) && matches!(error.error(), LexicalErrorType::UnclosedStringError)