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

View File

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