Add comment explaining what the matching items are for TOO_LONG_FIRST_DOC_PARAGRAPH
lint
This commit is contained in:
parent
4969960a9c
commit
3c6e5ef4ae
@ -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 New Issue
Block a user