Skip to content

Commit 913b9df

Browse files
authored
Rollup merge of rust-lang#89217 - GuillaumeGomez:generate-link-to-def-rust-tools, r=jyn514
Enable "generate-link-to-definition" option on rust tools docs as well Just realized that we enable the option for the compiler crates, but we don't have it for rustdoc and the other tools documentation... Part of rust-lang#89095. cc `@rust-lang/rustdoc` r? `@Mark-Simulacrum`
2 parents 23c28e3 + 9fa59e1 commit 913b9df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/doc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@ macro_rules! tool_doc {
743743
cargo.rustdocflag("--document-private-items");
744744
cargo.rustdocflag("--enable-index-page");
745745
cargo.rustdocflag("--show-type-layout");
746+
cargo.rustdocflag("--generate-link-to-definition");
746747
cargo.rustdocflag("-Zunstable-options");
747748
builder.run(&mut cargo.into());
748749
}

0 commit comments

Comments
 (0)