about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfinga <finga@onders.org>2024-05-25 21:36:49 +0200
committerfinga <finga@onders.org>2024-05-25 21:36:49 +0200
commite61288cbf053cd313b7539481b3faee1ec351228 (patch)
tree3b2a120b73ec401aff89b4c1412415a89bda1155
parent5aae5f6ae6b4ba0e6ddadea43e6a2bcadcaa2328 (diff)
downloadrust-e61288cbf053cd313b7539481b3faee1ec351228.tar.gz
rust-e61288cbf053cd313b7539481b3faee1ec351228.zip
book: Fix example code
Fix example code of the "Disabling evaluation of certain code" section
in the configuration chapter.
-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)]