Skip to content

Commit

Permalink
add description
Browse files Browse the repository at this point in the history
  • Loading branch information
Centri3 committed Jun 11, 2023
1 parent 08d07cc commit 241dca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/needless_if.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use rustc_session::{declare_lint_pass, declare_tool_lint};

declare_clippy_lint! {
/// ### What it does
/// Checks for empty `if` statement with no else branch.
/// Checks for empty `if` statements with no else branch.
///
/// ### Why is this bad?
/// It can be entirely omitted, and often the condition too.
Expand Down

0 comments on commit 241dca4

Please sign in to comment.