about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--clippy_lints/src/semicolon_block.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/clippy_lints/src/semicolon_block.rs b/clippy_lints/src/semicolon_block.rs
index c9689454c63..8cdfbd5c495 100644
--- a/clippy_lints/src/semicolon_block.rs
+++ b/clippy_lints/src/semicolon_block.rs
@@ -72,10 +72,11 @@ declare_clippy_lint! {
     ///
     /// ### Why is this bad?
     ///
-    /// Some may prefer if the semicolon is outside if a block is only one
-    /// expression, as this allows rustfmt to make it singleline. In the case that
-    /// it isn't, it should be inside.
-    /// Take a look at both `semicolon_inside_block` and `semicolon_outside_block` for alternatives.
+    /// Some may prefer if the semicolon is outside of a block if it is only one
+    /// expression, as this allows rustfmt to make it singleline (and may just be
+    /// more readable). In the case that it isn't, it should be inside.
+    /// Take a look at both `semicolon_inside_block` and `semicolon_outside_block`
+    /// for alternatives.
     ///
     /// ### Example
     ///