diff --git a/clippy_lints/src/lib.rs b/clippy_lints/src/lib.rs index 56c994b5c268..2f114c065bb1 100644 --- a/clippy_lints/src/lib.rs +++ b/clippy_lints/src/lib.rs @@ -260,8 +260,8 @@ mod reexport { /// /// Pre-expansion lints run before any macro expansion has happened. /// -/// Note that due to the architechture of the compiler, currently `cfg_attr` attributes will still -/// be expanded even when using a pre-expansion pass. +/// Note that due to the architechture of the compiler, currently `cfg_attr` attributes on crate +/// level (i.e `#![cfg_attr(...)]`) will still be expanded even when using a pre-expansion pass. /// /// Used in `./src/driver.rs`. pub fn register_pre_expansion_lints(