From 9c2879a848ae3117d2c99a03d415bb77a1ac7d34 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 15 Jul 2023 14:18:08 -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 0227b8ea9..e30500ba6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ doc-scrape-examples = false [package.metadata.docs.rs] features = ["raw_value", "unbounded_depth"] targets = ["x86_64-unknown-linux-gnu"] -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [package.metadata.playground] features = ["raw_value"]