mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Auto merge of #13289 - mrnossiom:master, r=y21
fix typo in cfg_not_test lint description Found this typo while looking at Clippy lints changelog: none
This commit is contained in:
commit
2c0f318991
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue