mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
![]() ## Summary As we bind the `ast::ExprCall` in the big `match expr` in `expression.rs` ```rust Expr::Call( call @ ast::ExprCall { ... ``` There is no need for additional `let/if let` checks on `ExprCall` in downstream rules. Found a few older rules which still did this while working on something else. This PR removes the redundant check from these rules. ## Test Plan `cargo test` |
||
---|---|---|
.. | ||
resources/test | ||
src | ||
Cargo.toml |