Skip to content

Commit fc8a025

Browse files
committed
fix(cfg_not_test): lint description typo
1 parent d0e637d commit fc8a025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/cfg_not_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use rustc_session::declare_lint_pass;
55

66
declare_clippy_lint! {
77
/// ### What it does
8-
/// Checks for usage of `cfg` that excludes code from `test` builds. (i.e., `#{cfg(not(test))]`)
8+
/// Checks for usage of `cfg` that excludes code from `test` builds. (i.e., `#[cfg(not(test))]`)
99
///
1010
/// ### Why is this bad?
1111
/// This may give the false impression that a codebase has 100% coverage, yet actually has untested code.

0 commit comments

Comments
 (0)