@@ -2,64 +2,49 @@ error: doc comment uses two spaces for a hard line break
22 --> tests/ui/doc/doc_comment_double_space_linebreak.rs:7:43
33 |
44LL | //! Should warn on double space linebreaks
5- | ^^ help: replace this double space with a backslash: `\`
5+ | ^^
66 |
7+ = help: replace this double space with a backslash: `\`
78 = note: `-D clippy::doc-comment-double-space-linebreak` implied by `-D warnings`
89 = help: to override `-D warnings` add `#[allow(clippy::doc_comment_double_space_linebreak)]`
910
1011error: doc comment uses two spaces for a hard line break
1112 --> tests/ui/doc/doc_comment_double_space_linebreak.rs:35:51
1213 |
1314LL | /// Should warn when doc comment uses double space
14- | ^^ help: replace this double space with a backslash: `\`
15-
16- error: doc comment uses two spaces for a hard line break
17- --> tests/ui/doc/doc_comment_double_space_linebreak.rs:36:50
18- |
15+ | ^^
1916LL | /// as a line-break, even when there are multiple
20- | ^^ help: replace this double space with a backslash: `\`
17+ | ^^
18+ |
19+ = help: replace this double space with a backslash: `\`
2120
2221error: doc comment uses two spaces for a hard line break
2322 --> tests/ui/doc/doc_comment_double_space_linebreak.rs:44:12
2423 |
2524LL | /// 🌹 are 🟥
26- | ^^ help: replace this double space with a backslash: `\`
27-
28- error: doc comment uses two spaces for a hard line break
29- --> tests/ui/doc/doc_comment_double_space_linebreak.rs:45:12
30- |
25+ | ^^
3126LL | /// 🌷 are 🟦
32- | ^^ help: replace this double space with a backslash: `\`
33-
34- error: doc comment uses two spaces for a hard line break
35- --> tests/ui/doc/doc_comment_double_space_linebreak.rs:46:11
36- |
27+ | ^^
3728LL | /// 📎 is 😎
38- | ^^ help: replace this double space with a backslash: `\`
39-
40- error: doc comment uses two spaces for a hard line break
41- --> tests/ui/doc/doc_comment_double_space_linebreak.rs:47:17
42- |
29+ | ^^
4330LL | /// and so are 🫵
44- | ^^ help: replace this double space with a backslash: `\`
31+ | ^^
32+ |
33+ = help: replace this double space with a backslash: `\`
4534
4635error: doc comment uses two spaces for a hard line break
4736 --> tests/ui/doc/doc_comment_double_space_linebreak.rs:86:16
4837 |
4938LL | /// here we mix
50- | ^^ help: replace this double space with a backslash: `\`
51-
52- error: doc comment uses two spaces for a hard line break
53- --> tests/ui/doc/doc_comment_double_space_linebreak.rs:88:13
54- |
39+ | ^^
40+ LL | /// double spaces\
5541LL | /// and also
56- | ^^ help: replace this double space with a backslash: `\`
57-
58- error: doc comment uses two spaces for a hard line break
59- --> tests/ui/doc/doc_comment_double_space_linebreak.rs:90:20
60- |
42+ | ^^
43+ LL | /// adding backslash\
6144LL | /// to some of them
62- | ^^ help: replace this double space with a backslash: `\`
45+ | ^^
46+ |
47+ = help: replace this double space with a backslash: `\`
6348
64- error: aborting due to 10 previous errors
49+ error: aborting due to 4 previous errors
6550
0 commit comments