mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
Switch off the single_match_else
Clippy lint (#13994)
This commit is contained in:
parent
f426349051
commit
e6dcdf3e49
2 changed files with 2 additions and 2 deletions
|
@ -3666,7 +3666,6 @@ impl<'db> TypeInferenceBuilder<'db> {
|
|||
}
|
||||
|
||||
ast::Expr::BinOp(binary) => {
|
||||
#[allow(clippy::single_match_else)]
|
||||
match binary.op {
|
||||
// PEP-604 unions are okay, e.g., `int | str`
|
||||
ast::Operator::BitOr => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue