mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Add comment explaining what the matching items are for TOO_LONG_FIRST_DOC_PARAGRAPH
lint
This commit is contained in:
parent
4969960a9c
commit
3c6e5ef4ae
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ pub(super) fn check(
|
|||
if first_paragraph_len <= 200
|
||||
|| !matches!(
|
||||
item.kind,
|
||||
// This is the list of items which can be documented AND are displayed on the module
|
||||
// page. So associated items or impl blocks are not part of this list.
|
||||
ItemKind::Static(..)
|
||||
| ItemKind::Const(..)
|
||||
| ItemKind::Fn(..)
|
||||
|
|
Loading…
Reference in a new issue