Rename doc_comment_double_space_linebreak -> doc_comment_double_space_linebreaks

This commit is contained in:
xFrednet 2025-03-01 11:50:26 +01:00
parent 60191cfd5b
commit 7fe160a60d
No known key found for this signature in database
GPG key ID: E126C23F63C8907A
7 changed files with 16 additions and 17 deletions

View file

@ -1,15 +1,15 @@
error: doc comment uses two spaces for a hard line break
--> tests/ui/doc/doc_comment_double_space_linebreak.rs:7:43
--> tests/ui/doc/doc_comment_double_space_linebreaks.rs:7:43
|
LL | //! Should warn on double space linebreaks
| ^^
|
= help: replace this double space with a backslash: `\`
= note: `-D clippy::doc-comment-double-space-linebreak` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::doc_comment_double_space_linebreak)]`
= help: to override `-D warnings` add `#[allow(clippy::doc_comment_double_space_linebreaks)]`
error: doc comment uses two spaces for a hard line break
--> tests/ui/doc/doc_comment_double_space_linebreak.rs:35:51
--> tests/ui/doc/doc_comment_double_space_linebreaks.rs:35:51
|
LL | /// Should warn when doc comment uses double space
| ^^
@ -19,7 +19,7 @@ LL | /// as a line-break, even when there are multiple
= help: replace this double space with a backslash: `\`
error: doc comment uses two spaces for a hard line break
--> tests/ui/doc/doc_comment_double_space_linebreak.rs:44:12
--> tests/ui/doc/doc_comment_double_space_linebreaks.rs:44:12
|
LL | /// 🌹 are 🟥
| ^^
@ -33,7 +33,7 @@ LL | /// and so are 🫵
= help: replace this double space with a backslash: `\`
error: doc comment uses two spaces for a hard line break
--> tests/ui/doc/doc_comment_double_space_linebreak.rs:86:16
--> tests/ui/doc/doc_comment_double_space_linebreaks.rs:86:16
|
LL | /// here we mix
| ^^