Fix residual (never merged) check-cfg syntax in doc
This commit is contained in:
parent
828f069c12
commit
1ef96a9e06
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue