Adjust semicolon block lint descriptions
This commit is contained in:
parent
ab41546975
commit
f585414cd2
1 changed files with 2 additions and 2 deletions
|
|
@ -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?
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue