From a14247b50086eed81916a3e78112879614abb8fa Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Mon, 11 Feb 2019 22:32:54 +0100 Subject: [PATCH] Update comment regarding crate level cfg_attr --- clippy_lints/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(