diff options
| author | Michael Howell <michael@notriddle.com> | 2024-06-27 16:35:43 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-06-27 17:09:54 -0700 |
| commit | 6de87829da801c10db378e28dd1797434383e651 (patch) | |
| tree | 68b1c9c8246b04e995fc19ce367312bd74c798fa /compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs | |
| parent | 68a799aea9b65e2444fbecfe32217ce7d5a3604f (diff) | |
| download | rust-6de87829da801c10db378e28dd1797434383e651.tar.gz rust-6de87829da801c10db378e28dd1797434383e651.zip | |
doc_lazy_continuation: blank comment line for gap
This change addresses cases where doc comments are separated by blank lines, comments, or non-doc-comment attributes, like this: ```rust /// - first line // not part of doc comment /// second line ``` Before this commit, Clippy gave a pedantically-correct warning about how you needed to indent the second line. This is unlikely to be what the user intends, and has been described as a "false positive" (since Clippy is warning you about a highly unintuitive behavior that Rustdoc actually has, we definitely want it to output *something*, but the suggestion to indent was poor). https://github.com/rust-lang/rust-clippy/issues/12917
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs')
0 files changed, 0 insertions, 0 deletions
