Skip to content

Commit b9c617a

Browse files
committed
correct comments
1 parent 72e773f commit b9c617a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clippy_lints/src/utils/conf.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,19 +419,19 @@ define_Conf! {
419419
(max_include_file_size: u64 = 1_000_000),
420420
/// Lint: EXPECT_USED.
421421
///
422-
/// Whether `expect` should be allowed within `#[cfg(test)]`
422+
/// Whether `expect` should be allowed in test functions or `#[cfg(test)]`
423423
(allow_expect_in_tests: bool = false),
424424
/// Lint: UNWRAP_USED.
425425
///
426-
/// Whether `unwrap` should be allowed in test cfg
426+
/// Whether `unwrap` should be allowed in test functions or `#[cfg(test)]`
427427
(allow_unwrap_in_tests: bool = false),
428428
/// Lint: DBG_MACRO.
429429
///
430-
/// Whether `dbg!` should be allowed in test functions
430+
/// Whether `dbg!` should be allowed in test functions or `#[cfg(test)]`
431431
(allow_dbg_in_tests: bool = false),
432432
/// Lint: PRINT_STDOUT, PRINT_STDERR.
433433
///
434-
/// Whether print macros (ex. `println!`) should be allowed in test functions
434+
/// Whether print macros (ex. `println!`) should be allowed in test functions or `#[cfg(test)]`
435435
(allow_print_in_tests: bool = false),
436436
/// Lint: RESULT_LARGE_ERR.
437437
///

0 commit comments

Comments
 (0)