[−][src]Static rustc_lint::builtin::MISSING_DOCS
pub static MISSING_DOCS: &Lint
The missing_docs lint detects missing documentation for public items.
Example
ⓘThis example deliberately fails to compile
#![deny(missing_docs)] pub fn foo() {}
{{produces}}
Explanation
This lint is intended to ensure that a library is well-documented. Items without documentation can be difficult for users to understand how to use properly.
This lint is "allow" by default because it can be noisy, and not all projects may want to enforce everything to be documented.