Skip to content

Commit 1ef96a9

Browse files
committed
Fix residual (never merged) check-cfg syntax in doc
1 parent 828f069 commit 1ef96a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/unstable-book/src/compiler-flags/check-cfg.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fn do_mumble_frotz() {}
139139

140140
```bash
141141
# This turns on checking for feature values, but not for condition names.
142-
rustc --check-cfg 'configure(feature, values("zapping", "lasers"))' \
142+
rustc --check-cfg 'cfg(feature, values("zapping", "lasers"))' \
143143
--check-cfg 'cfg(any())' \
144144
--cfg 'feature="zapping"' -Z unstable-options
145145
```

0 commit comments

Comments
 (0)