mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
0f87a81882
Make `for_each_expr` visit closures by default, rename the old version `for_each_expr_without_closures` A lot of the time `for_each_expr` is picked when closures should be visited so I think it makes sense for this to be the default with the alternative available for when you don't need to visit them. The first commit renames `for_each_expr` to `for_each_expr_without_closures` and `for_each_expr_with_closures` to `for_each_expr` The second commit switches a few uses that I caught over to include closures to fix a few bugs changelog: none |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |