Skip to content

Commit 84ceca8

Browse files
committed
run cargo collect-metadata
1 parent 79a9024 commit 84ceca8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: book/src/lint_configuration.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -472,31 +472,31 @@ The maximum size of a file included via `include_bytes!()` or `include_str!()`,
472472

473473

474474
### allow-expect-in-tests
475-
Whether `expect` should be allowed within `#[cfg(test)]`
475+
Whether `expect` should be allowed in test functions or `#[cfg(test)]`
476476

477477
**Default Value:** `false` (`bool`)
478478

479479
* [expect_used](https://rust-lang.github.io/rust-clippy/master/index.html#expect_used)
480480

481481

482482
### allow-unwrap-in-tests
483-
Whether `unwrap` should be allowed in test cfg
483+
Whether `unwrap` should be allowed in test functions or `#[cfg(test)]`
484484

485485
**Default Value:** `false` (`bool`)
486486

487487
* [unwrap_used](https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used)
488488

489489

490490
### allow-dbg-in-tests
491-
Whether `dbg!` should be allowed in test functions
491+
Whether `dbg!` should be allowed in test functions or `#[cfg(test)]`
492492

493493
**Default Value:** `false` (`bool`)
494494

495495
* [dbg_macro](https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro)
496496

497497

498498
### allow-print-in-tests
499-
Whether print macros (ex. `println!`) should be allowed in test functions
499+
Whether print macros (ex. `println!`) should be allowed in test functions or `#[cfg(test)]`
500500

501501
**Default Value:** `false` (`bool`)
502502

0 commit comments

Comments
 (0)