We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e552267 commit 49a9740Copy full SHA for 49a9740
clippy_lints/src/empty_structs_with_brackets.rs
@@ -8,7 +8,7 @@ use rustc_span::Span;
8
9
declare_clippy_lint! {
10
/// ### What it does
11
- /// 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.
12
///
13
/// ### Why is this bad?
14
/// Empty brackets after a struct declaration can be omitted.
0 commit comments