File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,11 @@ declare_clippy_lint! {
7272 ///
7373 /// ### Why is this bad?
7474 ///
75- /// Some may prefer if the semicolon is outside if a block is only one
76- /// expression, as this allows rustfmt to make it singleline. In the case that
77- /// it isn't, it should be inside.
78- /// Take a look at both `semicolon_inside_block` and `semicolon_outside_block` for alternatives.
75+ /// Some may prefer if the semicolon is outside of a block if it is only one
76+ /// expression, as this allows rustfmt to make it singleline (and may just be
77+ /// more readable). In the case that it isn't, it should be inside.
78+ /// Take a look at both `semicolon_inside_block` and `semicolon_outside_block`
79+ /// for alternatives.
7980 ///
8081 /// ### Example
8182 ///
You can’t perform that action at this time.
0 commit comments