mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +00:00
Explicitly mention [cfg(test)]
Co-authored-by: llogiq <bogusandre@gmail.com>
This commit is contained in:
parent
6551754945
commit
a0c82d2bcc
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ define_Conf! {
|
|||
(max_include_file_size: u64 = 1_000_000),
|
||||
/// Lint: EXPECT_USED.
|
||||
///
|
||||
/// Whether `expect` should be allowed in test cfg
|
||||
/// Whether `expect` should be allowed within `#[cfg(test)]`
|
||||
(allow_expect_in_tests: bool = false),
|
||||
/// Lint: UNWRAP_USED.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue