From 3315a60762ad97057717f8b7afb9c7cc07eac0c7 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Tue, 17 Jun 2025 21:11:44 -0700 Subject: [PATCH] Add table-of-contents link to the hint-mostly-unused section --- src/doc/src/reference/unstable.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/doc/src/reference/unstable.md b/src/doc/src/reference/unstable.md index bdae79bbd..d9022d761 100644 --- a/src/doc/src/reference/unstable.md +++ b/src/doc/src/reference/unstable.md @@ -101,6 +101,7 @@ Each new feature described below should explain how to use it. * [rustdoc-depinfo](#rustdoc-depinfo) --- Use dep-info files in rustdoc rebuild detection. * `Cargo.toml` extensions * [Profile `rustflags` option](#profile-rustflags-option) --- Passed directly to rustc. + * [Profile `hint-mostly-unused` option](#profile-hint-mostly-unused-option) --- Hint that a dependency is mostly unused, to optimize compilation time. * [codegen-backend](#codegen-backend) --- Select the codegen backend used by rustc. * [per-package-target](#per-package-target) --- Sets the `--target` to use for each individual package. * [artifact dependencies](#artifact-dependencies) --- Allow build artifacts to be included into other build artifacts and build them for different targets.