Fix inspector pass documentation

When using `#[clippy_dump]`, the compiler complains about an unknown
attribute. The correct one seems to be `#[clippy::dump]`.
This commit is contained in:
Guillem Nieto 2018-10-23 23:03:23 +02:00
parent b1d0343749
commit fd3651a551

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;
/// ```
///