Closed
Description
Request
The --show-coverage
unstable option should not count items marked as allow(missing_docs)
when calculating the docs percentage.
Use Case
I have a crate full of "bitfield" types, where the useful data is bit packed into integers (example). Each pseudo-field has a getter and a setter. I would like to document the getters, but the setters simply match the associated getter, and additional words on them would only serve to distract.
Accordingly, the getters are marked as allow(missing_docs)
, and they shouldn't count towards the docs coverage.
Metadata
Metadata
Assignees
Labels
Area: Calculating how much of a crate has documentationCategory: A feature request, i.e: not implemented / a PR.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the rustdoc team, which will review and decide on the PR/issue.