We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0e637d + fc8a025 commit 2c0f318Copy full SHA for 2c0f318
clippy_lints/src/cfg_not_test.rs
@@ -5,7 +5,7 @@ use rustc_session::declare_lint_pass;
5
6
declare_clippy_lint! {
7
/// ### What it does
8
- /// Checks for usage of `cfg` that excludes code from `test` builds. (i.e., `#{cfg(not(test))]`)
+ /// Checks for usage of `cfg` that excludes code from `test` builds. (i.e., `#[cfg(not(test))]`)
9
///
10
/// ### Why is this bad?
11
/// This may give the false impression that a codebase has 100% coverage, yet actually has untested code.
0 commit comments