update description
Co-authored-by: giraffate <f.seasons017@gmail.com>
This commit is contained in:
parent
e552267db3
commit
49a9740b09
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
declare_clippy_lint! {
|
declare_clippy_lint! {
|
||||||
/// ### What it does
|
/// ### 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?
|
/// ### Why is this bad?
|
||||||
/// Empty brackets after a struct declaration can be omitted.
|
/// Empty brackets after a struct declaration can be omitted.
|
||||||
|
Loading…
Reference in New Issue
Block a user