From f585414cd2fc635fecfe0437f9f71b08aba51d16 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 24 Nov 2022 20:37:07 +0100 Subject: [PATCH] Adjust semicolon block lint descriptions --- clippy_lints/src/semicolon_block.rs | 4 ++-- 1 file 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? ///