We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f585414 commit bf640bdCopy full SHA for bf640bd
clippy_lints/src/semicolon_block.rs
@@ -8,7 +8,7 @@ use rustc_span::Span;
8
declare_clippy_lint! {
9
/// ### What it does
10
///
11
- /// Checks for semicolon terminated blocks containing only a single expression.
+ /// Suggests moving the semicolon from a block inside of the block to its kast expression.
12
13
/// ### Why is this bad?
14
@@ -36,7 +36,7 @@ declare_clippy_lint! {
36
37
38
39
- /// Checks for blocks containing only a single semicolon terminated statement.
+ /// Suggests moving the semicolon from a block's final expression outside of the block.
40
41
42
0 commit comments