Skip to content

Commit e171e64

Browse files
committed
docs(rustc): De-emphasize --cfg/--check-cfg note
At the suggestion of @Urgau
1 parent 9232bd2 commit e171e64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/rustc/src/check-cfg.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ development process.
1111
In order to accomplish that goal, `rustc` accepts the `--check-cfg` flag, which specifies
1212
whether to check conditions and how to check them.
1313

14-
> **Note:** No implicit expectation is added when using `--cfg`. Users are expected to
15-
pass all expected names and values using the _check cfg specification_.
16-
1714
> **Note:** For interacting with this through Cargo,
1815
see [Cargo Specifics](check-cfg/cargo-specifics.md) page.
1916

@@ -26,6 +23,9 @@ breaking change.
2623
To specify expected names and values, the _check cfg specification_ provides the `cfg(...)`
2724
option which enables specifying for an expected config name and it's expected values.
2825

26+
> **Note:** No implicit expectation is added when using `--cfg`. Users are expected to
27+
pass all expected names and values using the _check cfg specification_.
28+
2929
It has this basic form:
3030

3131
```bash

0 commit comments

Comments
 (0)