Skip to content

Commit 20f0f13

Browse files
committed
Auto merge of rust-lang#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
2 parents 722de3b + e61288c commit 20f0f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Very rarely, you may wish to prevent Clippy from evaluating certain sections of
133133
`clippy` cfg is not set. You may need to provide a stub so that the code compiles:
134134

135135
```rust
136-
#[cfg(not(clippy)]
136+
#[cfg(not(clippy))]
137137
include!(concat!(env!("OUT_DIR"), "/my_big_function-generated.rs"));
138138

139139
#[cfg(clippy)]

0 commit comments

Comments
 (0)