@@ -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
@@ -105,7 +105,7 @@ LL | |
105105 | |_
106106...
107107LL | struct Multiple;
108- | --------------- the comment documents this struct
108+ | ---------------- the comment documents this struct
109109 |
110110 = help: if the empty lines are unintentional remove them
111111help: if the doc comment should not document `Multiple` comment it out
@@ -127,7 +127,7 @@ LL | | */
127127LL | |
128128 | |_
129129LL | fn first_in_module() {}
130- | -------------------- the comment documents this function
130+ | ----------------------- the comment documents this function
131131 |
132132 = help: if the empty line is unintentional remove it
133133help: if the comment should document the parent module use an inner doc comment
@@ -146,7 +146,7 @@ LL | |
146146 | |_
147147...
148148LL | fn new_code() {}
149- | ------------- the comment documents this function
149+ | ---------------- the comment documents this function
150150 |
151151 = help: if the empty line is unintentional remove it
152152help: if the doc comment should not document `new_code` comment it out
@@ -164,7 +164,7 @@ LL | |
164164 | |_
165165LL | /// Docs for `new_code2`
166166LL | fn new_code2() {}
167- | -------------- the comment documents this function
167+ | ----------------- the comment documents this function
168168 |
169169 = help: if the empty line is unintentional remove it
170170help: if the doc comment should not document `new_code2` comment it out
0 commit comments