update description
Co-authored-by: giraffate <f.seasons017@gmail.com>
This commit is contained in:
parent
e552267db3
commit
49a9740b09
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ use rustc_span::Span;
|
|||
|
||||
declare_clippy_lint! {
|
||||
/// ### What it does
|
||||
/// Finds structs without fields ("unit-like structs") that are declared with brackets.
|
||||
/// Finds structs without fields (a so-called "empty struct") that are declared with brackets.
|
||||
///
|
||||
/// ### Why is this bad?
|
||||
/// Empty brackets after a struct declaration can be omitted.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue