mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
fix(cfg_not_test): lint description typo
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user