We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TOO_LONG_FIRST_DOC_PARAGRAPH
1 parent 4969960 commit 3c6e5efCopy full SHA for 3c6e5ef
clippy_lints/src/doc/too_long_first_doc_paragraph.rs
@@ -21,6 +21,8 @@ pub(super) fn check(
21
if first_paragraph_len <= 200
22
|| !matches!(
23
item.kind,
24
+ // This is the list of items which can be documented AND are displayed on the module
25
+ // page. So associated items or impl blocks are not part of this list.
26
ItemKind::Static(..)
27
| ItemKind::Const(..)
28
| ItemKind::Fn(..)
0 commit comments