fix(cfg_not_test): lint description typo

This commit is contained in:
Milo Moisson 2024-08-20 12:04:28 +02:00
parent d0e637da19
commit fc8a025f17
No known key found for this signature in database
GPG Key ID: 7EA9B7563C01CA5E

View File

@ -5,7 +5,7 @@
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.