Skip to content

Commit a0c82d2

Browse files
kraktusllogiq
andauthored
Explicitly mention [cfg(test)]
Co-authored-by: llogiq <[email protected]>
1 parent 6551754 commit a0c82d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/conf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ define_Conf! {
373373
(max_include_file_size: u64 = 1_000_000),
374374
/// Lint: EXPECT_USED.
375375
///
376-
/// Whether `expect` should be allowed in test cfg
376+
/// Whether `expect` should be allowed within `#[cfg(test)]`
377377
(allow_expect_in_tests: bool = false),
378378
/// Lint: UNWRAP_USED.
379379
///

0 commit comments

Comments
 (0)