Skip to content

Commit

Permalink
Auto merge of #13289 - mrnossiom:master, r=y21
Browse files Browse the repository at this point in the history
fix typo in cfg_not_test lint description

Found this typo while looking at Clippy lints

changelog: none
  • Loading branch information
bors committed Aug 20, 2024
2 parents d0e637d + fc8a025 commit 2c0f318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/cfg_not_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2c0f318

Please sign in to comment.