From daeb3ff37e292ad48903707d24bb9bc709caa4a2 Mon Sep 17 00:00:00 2001 From: AreamanM Date: Wed, 8 Mar 2023 22:48:17 +0000 Subject: [PATCH] fix cargo fmt warning --- crates/ruff/src/rules/pylint/rules/compare_to_empty_string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }