File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -419,19 +419,19 @@ define_Conf! {
419
419
( max_include_file_size: u64 = 1_000_000 ) ,
420
420
/// Lint: EXPECT_USED.
421
421
///
422
- /// Whether `expect` should be allowed within `#[cfg(test)]`
422
+ /// Whether `expect` should be allowed in test functions or `#[cfg(test)]`
423
423
( allow_expect_in_tests: bool = false ) ,
424
424
/// Lint: UNWRAP_USED.
425
425
///
426
- /// Whether `unwrap` should be allowed in test cfg
426
+ /// Whether `unwrap` should be allowed in test functions or `#[ cfg(test)]`
427
427
( allow_unwrap_in_tests: bool = false ) ,
428
428
/// Lint: DBG_MACRO.
429
429
///
430
- /// Whether `dbg!` should be allowed in test functions
430
+ /// Whether `dbg!` should be allowed in test functions or `#[cfg(test)]`
431
431
( allow_dbg_in_tests: bool = false ) ,
432
432
/// Lint: PRINT_STDOUT, PRINT_STDERR.
433
433
///
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)]`
435
435
( allow_print_in_tests: bool = false ) ,
436
436
/// Lint: RESULT_LARGE_ERR.
437
437
///
You can’t perform that action at this time.
0 commit comments