Skip to content

Commit a14247b

Browse files
committed
Update comment regarding crate level cfg_attr
1 parent 7d39832 commit a14247b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@ mod reexport {
260260
///
261261
/// Pre-expansion lints run before any macro expansion has happened.
262262
///
263-
/// Note that due to the architechture of the compiler, currently `cfg_attr` attributes will still
264-
/// be expanded even when using a pre-expansion pass.
263+
/// Note that due to the architechture of the compiler, currently `cfg_attr` attributes on crate
264+
/// level (i.e `#![cfg_attr(...)]`) will still be expanded even when using a pre-expansion pass.
265265
///
266266
/// Used in `./src/driver.rs`.
267267
pub fn register_pre_expansion_lints(

0 commit comments

Comments
 (0)