From e61288cbf053cd313b7539481b3faee1ec351228 Mon Sep 17 00:00:00 2001 From: finga Date: Sat, 25 May 2024 21:36:49 +0200 Subject: [PATCH] book: Fix example code Fix example code of the "Disabling evaluation of certain code" section in the configuration chapter. --- book/src/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]