Skip to content

Commit bd744f0

Browse files
committed
docs(ref): Integrate link to unexpected_cfgs lint
1 parent 1162546 commit bd744f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/doc/src/reference/build-scripts.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,9 @@ identifier, the value should be a string.
259259
### `cargo::rustc-check-cfg=CHECK_CFG` {#rustc-check-cfg}
260260

261261
Add to the list of expected config names and values that is used when checking
262-
the _reachable_ cfg expressions.
262+
the _reachable_ cfg expressions with the [`unexpected_cfgs`][unexpected-cfgs] lint.
263263

264264
For details on the syntax of `CHECK_CFG`, see `rustc` [`--check-cfg` flag][option-check-cfg].
265-
See also the [`unexpected_cfgs`][unexpected-cfgs] lint.
266265

267266
> Note: `cargo:rustc-check-cfg` (single-colon) can be used if your MSRV is below Rust 1.77
268267

0 commit comments

Comments
 (0)