about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2022-11-24 20:37:07 +0100
committerLukas Wirth <lukastw97@gmail.com>2022-11-25 17:10:10 +0100
commitf585414cd2fc635fecfe0437f9f71b08aba51d16 (patch)
tree2453dbc8dca3b1aeda6c8617b262376d7161893c
parentab4154697512ec076c4c5550d218d46638353eb9 (diff)
downloadrust-f585414cd2fc635fecfe0437f9f71b08aba51d16.tar.gz
rust-f585414cd2fc635fecfe0437f9f71b08aba51d16.zip
Adjust semicolon block lint descriptions
-rw-r--r--clippy_lints/src/semicolon_block.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/semicolon_block.rs b/clippy_lints/src/semicolon_block.rs
index d06f21c89c4..6861b370939 100644
--- a/clippy_lints/src/semicolon_block.rs
+++ b/clippy_lints/src/semicolon_block.rs
@@ -8,7 +8,7 @@ use rustc_span::Span;
 declare_clippy_lint! {
     /// ### What it does
     ///
-    /// For () returning expressions, check that the semicolon is inside the block.
+    /// Checks for semicolon terminated blocks containing only a single expression.
     ///
     /// ### Why is this bad?
     ///
@@ -36,7 +36,7 @@ declare_clippy_lint! {
 declare_clippy_lint! {
     /// ### What it does
     ///
-    /// For () returning expressions, check that the semicolon is outside the block.
+    /// Checks for blocks containing only a single semicolon terminated statement.
     ///
     /// ### Why is this bad?
     ///