about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2023-10-20 19:34:45 +0200
committerUrgau <urgau@numericable.fr>2023-10-26 20:43:17 +0200
commit1ef96a9e06124ca3ce95f9ceb3be6f24d0e7154a (patch)
tree8b41da606964e2d921483ad95176fe6560ce4359
parent828f069c12b356631ef2f7b707d51708861a788d (diff)
downloadrust-1ef96a9e06124ca3ce95f9ceb3be6f24d0e7154a.tar.gz
rust-1ef96a9e06124ca3ce95f9ceb3be6f24d0e7154a.zip
Fix residual (never merged) check-cfg syntax in doc
-rw-r--r--src/doc/unstable-book/src/compiler-flags/check-cfg.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/check-cfg.md b/src/doc/unstable-book/src/compiler-flags/check-cfg.md
index 7a3ef5e9e2b..0e15c79076f 100644
--- a/src/doc/unstable-book/src/compiler-flags/check-cfg.md
+++ b/src/doc/unstable-book/src/compiler-flags/check-cfg.md
@@ -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
 ```