Skip to content

Commit 790f28b

Browse files
committed
Update documentation
1 parent c29e767 commit 790f28b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

book/src/lint_configuration.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,8 @@ if no suggestion can be made.
542542

543543

544544
### missing-docs-in-crate-items
545-
Whether to **only** check for missing documentation in `pub(crate)` items.
545+
Whether to **only** check for missing documentation in items visible within the current
546+
crate. For example, `pub(crate)` items.
546547

547548
**Default Value:** `false` (`bool`)
548549

clippy_lints/src/missing_doc.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ declare_clippy_lint! {
3636
}
3737

3838
pub struct MissingDoc {
39-
/// Whether to only check for missing docs in `pub(crate)` items.
39+
/// Whether to **only** check for missing documentation in items visible within the current
40+
/// crate. For example, `pub(crate)` items.
4041
crate_items_only: bool,
4142
/// Stack of whether #[doc(hidden)] is set
4243
/// at each level which has lint attributes.

0 commit comments

Comments
 (0)