@@ -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
@@ -126,7 +126,7 @@ LL | | */
126
126
LL | |
127
127
| |_^
128
128
LL | fn first_in_module() {}
129
- | -------------------- the comment documents this function
129
+ | ------------------ the comment documents this function
130
130
|
131
131
= help: if the empty line is unintentional remove it
132
132
help: if the comment should document the parent module use an inner doc comment
@@ -145,7 +145,7 @@ LL | |
145
145
| |_^
146
146
...
147
147
LL | fn new_code() {}
148
- | ------------- the comment documents this function
148
+ | ----------- the comment documents this function
149
149
|
150
150
= help: if the empty line is unintentional remove it
151
151
help: if the doc comment should not document `new_code` comment it out
@@ -163,7 +163,7 @@ LL | |
163
163
| |_^
164
164
LL | /// Docs for `new_code2`
165
165
LL | fn new_code2() {}
166
- | -------------- the comment documents this function
166
+ | ------------ the comment documents this function
167
167
|
168
168
= help: if the empty line is unintentional remove it
169
169
help: if the doc comment should not document `new_code2` comment it out
0 commit comments