Skip to content

Commit 241dca4

Browse files
committed
add description
1 parent 08d07cc commit 241dca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/needless_if.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use rustc_session::{declare_lint_pass, declare_tool_lint};
77

88
declare_clippy_lint! {
99
/// ### What it does
10-
/// Checks for empty `if` statement with no else branch.
10+
/// Checks for empty `if` statements with no else branch.
1111
///
1212
/// ### Why is this bad?
1313
/// It can be entirely omitted, and often the condition too.

0 commit comments

Comments
 (0)