Fix residual (never merged) check-cfg syntax in doc

This commit is contained in:
Urgau 2023-10-20 19:34:45 +02:00
parent 828f069c12
commit 1ef96a9e06

View File

@ -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
```