about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLiu Dingming <liudingming@bytedance.com>2023-02-24 05:53:58 +0800
committerLiu Dingming <liudingming@bytedance.com>2023-02-24 05:53:58 +0800
commit84ceca852eee1bcfcc987fc6d98e22e7395b4c69 (patch)
tree7549d6a2c013c8329dfeef76f436a53598b973dd
parent79a90248c3c852efac91829da46e3ec53695e6d3 (diff)
downloadrust-84ceca852eee1bcfcc987fc6d98e22e7395b4c69.tar.gz
rust-84ceca852eee1bcfcc987fc6d98e22e7395b4c69.zip
run cargo collect-metadata
-rw-r--r--book/src/lint_configuration.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/book/src/lint_configuration.md b/book/src/lint_configuration.md
index f74431bee82..33f2b5c1de9 100644
--- a/book/src/lint_configuration.md
+++ b/book/src/lint_configuration.md
@@ -472,7 +472,7 @@ The maximum size of a file included via `include_bytes!()` or `include_str!()`,
 
 
 ### allow-expect-in-tests
-Whether `expect` should be allowed within `#[cfg(test)]`
+Whether `expect` should be allowed in test functions or `#[cfg(test)]`
 
 **Default Value:** `false` (`bool`)
 
@@ -480,7 +480,7 @@ Whether `expect` should be allowed within `#[cfg(test)]`
 
 
 ### allow-unwrap-in-tests
-Whether `unwrap` should be allowed in test cfg
+Whether `unwrap` should be allowed in test functions or `#[cfg(test)]`
 
 **Default Value:** `false` (`bool`)
 
@@ -488,7 +488,7 @@ Whether `unwrap` should be allowed in test cfg
 
 
 ### allow-dbg-in-tests
-Whether `dbg!` should be allowed in test functions
+Whether `dbg!` should be allowed in test functions or `#[cfg(test)]`
 
 **Default Value:** `false` (`bool`)
 
@@ -496,7 +496,7 @@ Whether `dbg!` should be allowed in test functions
 
 
 ### allow-print-in-tests
-Whether print macros (ex. `println!`) should be allowed in test functions
+Whether print macros (ex. `println!`) should be allowed in test functions or `#[cfg(test)]`
 
 **Default Value:** `false` (`bool`)