Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Update name of blocks_in_if_conditions clippy lint
Browse files Browse the repository at this point in the history
    warning: lint `clippy::blocks_in_if_conditions` has been renamed to `clippy::blocks_in_conditions`
       --> src/lib.rs:141:5
        |
    141 |     clippy::blocks_in_if_conditions,
        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::blocks_in_conditions`
        |
        = note: `#[warn(renamed_and_removed_lints)]` on by default
  • Loading branch information
dtolnay committed Dec 17, 2023
1 parent 66ec2cf commit a6b2dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
clippy::redundant_else,
clippy::single_match_else,
// code is acceptable
clippy::blocks_in_if_conditions,
clippy::blocks_in_conditions,
clippy::cast_possible_truncation,
clippy::cast_possible_wrap,
clippy::cast_precision_loss,
Expand Down

0 comments on commit a6b2dc0

Please sign in to comment.