Skip to content

Commit 2c0f318

Browse files
committed
Auto merge of rust-lang#13289 - mrnossiom:master, r=y21
fix typo in cfg_not_test lint description Found this typo while looking at Clippy lints changelog: none
2 parents d0e637d + fc8a025 commit 2c0f318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/cfg_not_test.rs

+1-1
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)