@@ -5,7 +5,7 @@ LL | / /// for the crate
5
5
LL | |
6
6
| |_
7
7
LL | fn first_in_crate() {}
8
- | ------------------- the comment documents this function
8
+ | ---------------------- the comment documents this function
9
9
|
10
10
= note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings`
11
11
= help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]`
@@ -24,7 +24,7 @@ LL | / /// for the module
24
24
LL | |
25
25
| |_
26
26
LL | fn first_in_module() {}
27
- | -------------------- the comment documents this function
27
+ | ----------------------- the comment documents this function
28
28
|
29
29
= help: if the empty line is unintentional remove it
30
30
help: if the comment should document the parent module use an inner doc comment
42
42
| |_
43
43
LL | /// Blank line
44
44
LL | fn indented() {}
45
- | ------------- the comment documents this function
45
+ | ---------------- the comment documents this function
46
46
|
47
47
= help: if the empty line is unintentional remove it
48
48
help: if the documentation should include the empty line include it in the comment
@@ -57,7 +57,7 @@ LL | / /// This should produce a warning
57
57
LL | |
58
58
| |_
59
59
LL | fn with_doc_and_newline() {}
60
- | ------------------------- the comment documents this function
60
+ | ---------------------------- the comment documents this function
61
61
|
62
62
= help: if the empty line is unintentional remove it
63
63
72
72
| |_
73
73
...
74
74
LL | fn three_attributes() {}
75
- | --------------------- the comment documents this function
75
+ | ------------------------ the comment documents this function
76
76
|
77
77
= help: if the empty lines are unintentional remove them
78
78
@@ -84,7 +84,7 @@ LL | | // fn old_code() {}
84
84
LL | |
85
85
| |_
86
86
LL | fn new_code() {}
87
- | ------------- the comment documents this function
87
+ | ---------------- the comment documents this function
88
88
|
89
89
= help: if the empty line is unintentional remove it
90
90
help: if the doc comment should not document `new_code` comment it out
@@ -105,7 +105,7 @@ LL | |
105
105
| |_
106
106
...
107
107
LL | struct Multiple;
108
- | --------------- the comment documents this struct
108
+ | ---------------- the comment documents this struct
109
109
|
110
110
= help: if the empty lines are unintentional remove them
111
111
help: if the doc comment should not document `Multiple` comment it out
@@ -127,7 +127,7 @@ LL | | */
127
127
LL | |
128
128
| |_
129
129
LL | fn first_in_module() {}
130
- | -------------------- the comment documents this function
130
+ | ----------------------- the comment documents this function
131
131
|
132
132
= help: if the empty line is unintentional remove it
133
133
help: if the comment should document the parent module use an inner doc comment
@@ -146,7 +146,7 @@ LL | |
146
146
| |_
147
147
...
148
148
LL | fn new_code() {}
149
- | ------------- the comment documents this function
149
+ | ---------------- the comment documents this function
150
150
|
151
151
= help: if the empty line is unintentional remove it
152
152
help: if the doc comment should not document `new_code` comment it out
@@ -164,7 +164,7 @@ LL | |
164
164
| |_
165
165
LL | /// Docs for `new_code2`
166
166
LL | fn new_code2() {}
167
- | -------------- the comment documents this function
167
+ | ----------------- the comment documents this function
168
168
|
169
169
= help: if the empty line is unintentional remove it
170
170
help: if the doc comment should not document `new_code2` comment it out
0 commit comments