diff options
| author | Max Baumann <max@bmn.dev> | 2022-03-30 13:08:39 +0200 |
|---|---|---|
| committer | Max Baumann <max@bmn.dev> | 2022-03-30 20:13:16 +0200 |
| commit | 49a9740b09448ac903a2a1a9b73f09e4ca7fc783 (patch) | |
| tree | f36620456d454dc992814ec3a395711f51719b2e | |
| parent | e552267db33377d913ca1c94c7377b1f5623cbf3 (diff) | |
| download | rust-49a9740b09448ac903a2a1a9b73f09e4ca7fc783.tar.gz rust-49a9740b09448ac903a2a1a9b73f09e4ca7fc783.zip | |
update description
Co-authored-by: giraffate <f.seasons017@gmail.com>
| -rw-r--r-- | clippy_lints/src/empty_structs_with_brackets.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/empty_structs_with_brackets.rs b/clippy_lints/src/empty_structs_with_brackets.rs index 0077cc5364f..15c06126fd5 100644 --- a/clippy_lints/src/empty_structs_with_brackets.rs +++ b/clippy_lints/src/empty_structs_with_brackets.rs @@ -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. |
