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