improve the doc of doc_paragraphs_missing_punctuation (#16377)
Related issue: rust-lang/rust-clippy#16370 changelog: [`doc_paragraphs_missing_punctuation`]: improve its doc
This commit is contained in:
commit
1437ea04e8
1 changed files with 6 additions and 0 deletions
|
|
@ -692,6 +692,12 @@ declare_clippy_lint! {
|
|||
/// ///
|
||||
/// /// It was chosen by a fair dice roll.
|
||||
/// ```
|
||||
///
|
||||
/// ### Terminal punctuation marks
|
||||
/// This lint treats these characters as end markers: '.', '?', '!', '…' and ':'.
|
||||
///
|
||||
/// The colon is not exactly a terminal punctuation mark, but this is required for paragraphs that
|
||||
/// introduce a table or a list for example.
|
||||
#[clippy::version = "1.93.0"]
|
||||
pub DOC_PARAGRAPHS_MISSING_PUNCTUATION,
|
||||
restriction,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue