Skip to content

Commit 49a9740

Browse files
FoseFxgiraffate
andcommitted
update description
Co-authored-by: giraffate <[email protected]>
1 parent e552267 commit 49a9740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/empty_structs_with_brackets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use rustc_span::Span;
88

99
declare_clippy_lint! {
1010
/// ### What it does
11-
/// Finds structs without fields ("unit-like structs") that are declared with brackets.
11+
/// Finds structs without fields (a so-called "empty struct") that are declared with brackets.
1212
///
1313
/// ### Why is this bad?
1414
/// Empty brackets after a struct declaration can be omitted.

0 commit comments

Comments
 (0)