mirror of https://github.com/astral-sh/ruff
Fix Clippy error
This commit is contained in:
parent
4523885268
commit
588399e415
|
|
@ -231,7 +231,7 @@ pub fn use_ternary_operator(checker: &mut Checker, stmt: &Stmt, parent: Option<&
|
|||
}
|
||||
|
||||
fn compare_expr(expr1: &ComparableExpr, expr2: &ComparableExpr) -> bool {
|
||||
expr1.eq(&expr2)
|
||||
expr1.eq(expr2)
|
||||
}
|
||||
|
||||
/// SIM401
|
||||
|
|
|
|||
Loading…
Reference in New Issue