From 899771db490c22a8dce633fdc54807045b705edf Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 16 Dec 2025 16:06:33 +0100 Subject: [PATCH] Remove link to `doc_cfg` docs in cargo book --- src/doc/src/reference/features.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/doc/src/reference/features.md b/src/doc/src/reference/features.md index 3af88ba3df8..d3fcd66fb63 100644 --- a/src/doc/src/reference/features.md +++ b/src/doc/src/reference/features.md @@ -495,7 +495,7 @@ control which features are enabled when the documentation is built. See > **Note**: Rustdoc has experimental support for annotating the documentation > to indicate which features are required to use certain APIs. See the -> [`doc_cfg`] documentation for more details. An example is the [`syn` +> `doc_cfg` documentation for more details. An example is the [`syn` > documentation], where you can see colored boxes which note which features > are required to use it. @@ -506,7 +506,6 @@ control which features are enabled when the documentation is built. See [regex crate source]: https://github.com/rust-lang/regex/blob/1.4.2/src/lib.rs#L488-L583 [regex-docs-rs]: https://docs.rs/regex/1.4.2/regex/#crate-features [sccache]: https://github.com/mozilla/sccache/blob/0.2.13/README.md#build-requirements -[`doc_cfg`]: ../../unstable-book/language-features/doc-cfg.html [`syn` documentation]: https://docs.rs/syn/1.0.54/syn/#modules ### Discovering features