about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorFridtjof Stoldt <xFrednet@gmail.com>2025-03-16 14:44:02 +0000
committerGitHub <noreply@github.com>2025-03-16 14:44:02 +0000
commit3c7dfacf44fae62d8534f0864328e51a17471350 (patch)
tree3e607a01bc526dc8b28e934f5245320de1d9c79e /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent5c031d1f6ad350408a9b268e6bbff6b3271dae51 (diff)
parent45e44878a7d57a8d64802341103a34cfac8f2704 (diff)
downloadrust-3c7dfacf44fae62d8534f0864328e51a17471350.tar.gz
rust-3c7dfacf44fae62d8534f0864328e51a17471350.zip
new lint: `doc_comment_double_space_linebreaks` (#12876)
Fixes https://github.com/rust-lang/rust-clippy/issues/12163

I decided to initially make this a restriction lint because it felt a
bit niche and opinionated to be a warn-by-default style lint. It may be
appropriate as a style lint if the standard or convention *is* to use
`\` as doc comment linebreaks - not sure if they are!

The wording on the help message could be improved, as well as the name
of the lint itself since it's a bit wordy - suggestions welcome.

This lint works on both `///` and `//!` doc comments.

changelog: new lint: `doc_comment_double_space_linebreaks`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions