We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e637d commit fc8a025Copy full SHA for fc8a025
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