clean up docs for clippy_dump

This commit is contained in:
Oliver Schneider 2016-10-24 16:30:22 +02:00
parent 34deb72c36
commit 233459ea33
No known key found for this signature in database
GPG key ID: 56D6EEA0FC67AC46

View file

@ -8,15 +8,19 @@ use syntax::ast::{Attribute, MetaItemKind};
/// **What it does:** Dumps every ast/hir node which has the `#[clippy_dump]` attribute
///
/// **Why is this bad?** 😈
///
/// **Known problems:** ∅
///
/// **Example:**
/// ```rust
/// #[clippy_dump]
/// extern crate foo;
/// ```
///
/// prints
///
/// ```
/// item `foo`
/// visibility inherited from outer item
/// extern crate dylib source: "/path/to/foo.so"
/// ```
declare_lint! {
pub DEEP_CODE_INSPECTION,
Warn,