Skip to content

Commit

Permalink
Fix residual (never merged) check-cfg syntax in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Oct 26, 2023
1 parent 828f069 commit 1ef96a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/unstable-book/src/compiler-flags/check-cfg.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ fn do_mumble_frotz() {}

```bash
# This turns on checking for feature values, but not for condition names.
rustc --check-cfg 'configure(feature, values("zapping", "lasers"))' \
rustc --check-cfg 'cfg(feature, values("zapping", "lasers"))' \
--check-cfg 'cfg(any())' \
--cfg 'feature="zapping"' -Z unstable-options
```
Expand Down

0 comments on commit 1ef96a9

Please sign in to comment.