diff --git a/crates/ruff/src/rules/pylint/rules/compare_to_empty_string.rs b/crates/ruff/src/rules/pylint/rules/compare_to_empty_string.rs index 2a0e835361..2946670efc 100644 --- a/crates/ruff/src/rules/pylint/rules/compare_to_empty_string.rs +++ b/crates/ruff/src/rules/pylint/rules/compare_to_empty_string.rs @@ -55,7 +55,7 @@ pub fn compare_to_empty_string( op: op.into(), rhs: unparse_constant(value, checker.stylist), }, - Range::from_located(lhs) + Range::from_located(lhs), ); checker.diagnostics.push(diag); }