Merge pull request #3352 from gnieto/fix/doc-inspector

Fix inspector pass documentation
This commit is contained in:
Philipp Hansch 2018-10-24 07:02:20 +02:00 committed by GitHub
commit 304b5f1e45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,12 +19,12 @@ use crate::rustc::hir::print;
use crate::syntax::ast::Attribute;
use crate::utils::get_attr;
/// **What it does:** Dumps every ast/hir node which has the `#[clippy_dump]`
/// **What it does:** Dumps every ast/hir node which has the `#[clippy::dump]`
/// attribute
///
/// **Example:**
/// ```rust
/// #[clippy_dump]
/// #[clippy::dump]
/// extern crate foo;
/// ```
///