diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/clippy/src/docs/empty_structs_with_brackets.txt | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/tools/clippy/src/docs/empty_structs_with_brackets.txt b/src/tools/clippy/src/docs/empty_structs_with_brackets.txt deleted file mode 100644 index ab5e35ae2..000000000 --- a/src/tools/clippy/src/docs/empty_structs_with_brackets.txt +++ /dev/null @@ -1,14 +0,0 @@ -### What it does -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. - -### Example -``` -struct Cookie {} -``` -Use instead: -``` -struct Cookie; -```
\ No newline at end of file |