diff options
Diffstat (limited to 'clippy_lints/src/missing_doc.rs')
| -rw-r--r-- | clippy_lints/src/missing_doc.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/clippy_lints/src/missing_doc.rs b/clippy_lints/src/missing_doc.rs index 8c5c1f65280..d7e4dd22123 100644 --- a/clippy_lints/src/missing_doc.rs +++ b/clippy_lints/src/missing_doc.rs @@ -14,16 +14,16 @@ use syntax::ast; use syntax::attr; use syntax::source_map::Span; -/// **What it does:** Warns if there is missing doc for any documentable item -/// (public or private). -/// -/// **Why is this bad?** Doc is good. *rustc* has a `MISSING_DOCS` -/// allowed-by-default lint for -/// public members, but has no way to enforce documentation of private items. -/// This lint fixes that. -/// -/// **Known problems:** None. declare_clippy_lint! { + /// **What it does:** Warns if there is missing doc for any documentable item + /// (public or private). + /// + /// **Why is this bad?** Doc is good. *rustc* has a `MISSING_DOCS` + /// allowed-by-default lint for + /// public members, but has no way to enforce documentation of private items. + /// This lint fixes that. + /// + /// **Known problems:** None. pub MISSING_DOCS_IN_PRIVATE_ITEMS, restriction, "detects missing documentation for public and private members" |
