Skip to content

Commit 3cea5ec

Browse files
committed
fix clippy
1 parent 0af849e commit 3cea5ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_linter/src/rules/flake8_simplify/rules/ast_bool_op.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ pub(crate) fn duplicate_isinstance_call(checker: &mut Checker, expr: &Expr) {
351351
let mut duplicates: Vec<Vec<usize>> = Vec::new();
352352
let mut last_target_option: Option<ComparableExpr> = None;
353353
for (index, call) in values.iter().enumerate() {
354-
let Some(target) = isinstance_target(&call, checker.semantic()) else {
354+
let Some(target) = isinstance_target(call, checker.semantic()) else {
355355
last_target_option = None;
356356
continue;
357357
};

0 commit comments

Comments
 (0)