Warn when doc comment doesn't provide code example? #43193
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
It was during the last rustdoc reunion, I emitted the following idea:
So we have the two following ideas for the implementation:
rustdoc --check
#[warn(docs_without_examples)]
)Any preference?
cc @rust-lang/docs
cc @ubsan
The text was updated successfully, but these errors were encountered: