From 660fb0f06803550e8faf78aa58a5680a1d46ab74 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 15 Jul 2023 12:43:41 -0700 Subject: [PATCH] Opt in to generate-link-to-definition when building on docs.rs --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e9c7395..340d5a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,4 +30,4 @@ doc-scrape-examples = false [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] -rustdoc-args = ["--cfg", "doc_cfg"] +rustdoc-args = ["--cfg", "doc_cfg", "--generate-link-to-definition"]