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! {
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 ///
You can’t perform that action at this time.
0 commit comments