Skip to content

Commit a518301

Browse files
committed
Mark cargo:rustc-check-cfg as a subsection of check-cfg
1 parent 97d4d38 commit a518301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/unstable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ println!("cargo:rustc-check-cfg=names(foo, bar)");
12241224
cargo check -Z unstable-options -Z check-cfg=output
12251225
```
12261226

1227-
### `cargo:rustc-check-cfg=CHECK_CFG`
1227+
#### `cargo:rustc-check-cfg=CHECK_CFG`
12281228

12291229
The `rustc-check-cfg` instruction tells Cargo to pass the given value to the
12301230
`--check-cfg` flag to the compiler. This may be used for compile-time

0 commit comments

Comments
 (0)