Skip to content

Commit ef0032c

Browse files
committed
Adjust semicolon block lint descriptions
1 parent 16b016e commit ef0032c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/semicolon_block.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use rustc_span::Span;
88
declare_clippy_lint! {
99
/// ### What it does
1010
///
11-
/// For () returning expressions, check that the semicolon is inside the block.
11+
/// Checks for semicolon terminated blocks containing only a single expression.
1212
///
1313
/// ### Why is this bad?
1414
///
@@ -36,7 +36,7 @@ declare_clippy_lint! {
3636
declare_clippy_lint! {
3737
/// ### What it does
3838
///
39-
/// For () returning expressions, check that the semicolon is outside the block.
39+
/// Checks for blocks containing only a single semicolon terminated statement.
4040
///
4141
/// ### Why is this bad?
4242
///

0 commit comments

Comments
 (0)