We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab41546 commit f585414Copy full SHA for f585414
clippy_lints/src/semicolon_block.rs
@@ -8,7 +8,7 @@ use rustc_span::Span;
8
declare_clippy_lint! {
9
/// ### What it does
10
///
11
- /// For () returning expressions, check that the semicolon is inside the block.
+ /// Checks for semicolon terminated blocks containing only a single expression.
12
13
/// ### Why is this bad?
14
@@ -36,7 +36,7 @@ declare_clippy_lint! {
36
37
38
39
- /// For () returning expressions, check that the semicolon is outside the block.
+ /// Checks for blocks containing only a single semicolon terminated statement.
40
41
42
0 commit comments