@@ -5,7 +5,7 @@ LL | / /// for the crate
55LL | |
66 | |_^
77LL | fn first_in_crate() {}
8- | ------------------- the comment documents this function
8+ | ----------------- the comment documents this function
99 |
1010 = note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings`
1111 = help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]`
@@ -24,7 +24,7 @@ LL | / /// for the module
2424LL | |
2525 | |_^
2626LL | fn first_in_module() {}
27- | -------------------- the comment documents this function
27+ | ------------------ the comment documents this function
2828 |
2929 = help: if the empty line is unintentional remove it
3030help: if the comment should document the parent module use an inner doc comment
4242 | |_^
4343LL | /// Blank line
4444LL | fn indented() {}
45- | ------------- the comment documents this function
45+ | ----------- the comment documents this function
4646 |
4747 = help: if the empty line is unintentional remove it
4848help: if the documentation should include the empty line include it in the comment
@@ -57,7 +57,7 @@ LL | / /// This should produce a warning
5757LL | |
5858 | |_^
5959LL | fn with_doc_and_newline() {}
60- | ------------------------- the comment documents this function
60+ | ----------------------- the comment documents this function
6161 |
6262 = help: if the empty line is unintentional remove it
6363
7272 | |_^
7373...
7474LL | fn three_attributes() {}
75- | --------------------- the comment documents this function
75+ | ------------------- the comment documents this function
7676 |
7777 = help: if the empty lines are unintentional remove them
7878
@@ -84,7 +84,7 @@ LL | | // fn old_code() {}
8484LL | |
8585 | |_^
8686LL | fn new_code() {}
87- | ------------- the comment documents this function
87+ | ----------- the comment documents this function
8888 |
8989 = help: if the empty line is unintentional remove it
9090help: if the doc comment should not document `new_code` comment it out
@@ -126,7 +126,7 @@ LL | | */
126126LL | |
127127 | |_^
128128LL | fn first_in_module() {}
129- | -------------------- the comment documents this function
129+ | ------------------ the comment documents this function
130130 |
131131 = help: if the empty line is unintentional remove it
132132help: if the comment should document the parent module use an inner doc comment
@@ -145,7 +145,7 @@ LL | |
145145 | |_^
146146...
147147LL | fn new_code() {}
148- | ------------- the comment documents this function
148+ | ----------- the comment documents this function
149149 |
150150 = help: if the empty line is unintentional remove it
151151help: if the doc comment should not document `new_code` comment it out
@@ -163,7 +163,7 @@ LL | |
163163 | |_^
164164LL | /// Docs for `new_code2`
165165LL | fn new_code2() {}
166- | -------------- the comment documents this function
166+ | ------------ the comment documents this function
167167 |
168168 = help: if the empty line is unintentional remove it
169169help: if the doc comment should not document `new_code2` comment it out
0 commit comments