diff options
| author | Ed Page <eopage@gmail.com> | 2024-06-12 15:57:13 -0500 |
|---|---|---|
| committer | Ed Page <eopage@gmail.com> | 2024-06-12 15:57:13 -0500 |
| commit | e171e648ea0dfd7af91c3cb8e66b53c516e910c5 (patch) | |
| tree | 7f34ac37f5510c2c192fa933cfb5a039da47f924 /src | |
| parent | 9232bd2e83dcd14859131e978c96e8230c7b19a2 (diff) | |
| download | rust-e171e648ea0dfd7af91c3cb8e66b53c516e910c5.tar.gz rust-e171e648ea0dfd7af91c3cb8e66b53c516e910c5.zip | |
docs(rustc): De-emphasize --cfg/--check-cfg note
At the suggestion of @Urgau
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustc/src/check-cfg.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc/src/check-cfg.md b/src/doc/rustc/src/check-cfg.md index a1fc71307b3..dfc4871b924 100644 --- a/src/doc/rustc/src/check-cfg.md +++ b/src/doc/rustc/src/check-cfg.md @@ -11,9 +11,6 @@ development process. In order to accomplish that goal, `rustc` accepts the `--check-cfg` flag, which specifies whether to check conditions and how to check them. -> **Note:** No implicit expectation is added when using `--cfg`. Users are expected to -pass all expected names and values using the _check cfg specification_. - > **Note:** For interacting with this through Cargo, see [Cargo Specifics](check-cfg/cargo-specifics.md) page. @@ -26,6 +23,9 @@ breaking change. To specify expected names and values, the _check cfg specification_ provides the `cfg(...)` option which enables specifying for an expected config name and it's expected values. +> **Note:** No implicit expectation is added when using `--cfg`. Users are expected to +pass all expected names and values using the _check cfg specification_. + It has this basic form: ```bash |
