update description

Co-authored-by: giraffate <f.seasons017@gmail.com>
This commit is contained in:
Max Baumann 2022-03-30 13:08:39 +02:00
parent e552267db3
commit 49a9740b09

View File

@ -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.