From fc8a025f171a4cf8e5839c2bd5fa33c25357e2a0 Mon Sep 17 00:00:00 2001 From: Milo Moisson Date: Tue, 20 Aug 2024 12:04:28 +0200 Subject: [PATCH] fix(cfg_not_test): lint description typo --- clippy_lints/src/cfg_not_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/cfg_not_test.rs b/clippy_lints/src/cfg_not_test.rs index b54f392bf..d820c1e07 100644 --- a/clippy_lints/src/cfg_not_test.rs +++ b/clippy_lints/src/cfg_not_test.rs @@ -5,7 +5,7 @@ use rustc_session::declare_lint_pass; declare_clippy_lint! { /// ### What it does - /// 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))]`) /// /// ### Why is this bad? /// This may give the false impression that a codebase has 100% coverage, yet actually has untested code.