about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-27 10:18:10 +0000
committerbors <bors@rust-lang.org>2024-05-27 10:18:10 +0000
commit20f0f135ee1fefa143cbe887471f9d9631f8f052 (patch)
tree15f96c830000563680542f7f07e9eeb753b24113
parent722de3b5462ab0efa4a89e39aa6a2adc61940dc0 (diff)
parente61288cbf053cd313b7539481b3faee1ec351228 (diff)
downloadrust-20f0f135ee1fefa143cbe887471f9d9631f8f052.tar.gz
rust-20f0f135ee1fefa143cbe887471f9d9631f8f052.zip
Auto merge of #12852 - finga:master, r=flip1995
book: Fix example code

Fix example code of the "Disabling evaluation of certain code" section in the configuration chapter.

changelog: none
-rw-r--r--book/src/configuration.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 9eb067abd91..ea549e4df4a 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -133,7 +133,7 @@ Very rarely, you may wish to prevent Clippy from evaluating certain sections of
 `clippy` cfg is not set. You may need to provide a stub so that the code compiles:
 
 ```rust
-#[cfg(not(clippy)]
+#[cfg(not(clippy))]
 include!(concat!(env!("OUT_DIR"), "/my_big_function-generated.rs"));
 
 #[cfg(clippy)]