mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
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:
parent
b1d0343749
commit
fd3651a551
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue