From f86e8e5881f157f115c271b9ff578867cc91ba92 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 20 Jul 2023 22:13:20 -0700 Subject: [PATCH] Opt in to generate-link-to-definition when building on docs.rs --- Cargo.toml | 1 + impl/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 109b47a..aa90c4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,3 +25,4 @@ members = ["impl"] [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +rustdoc-args = ["--generate-link-to-definition"] diff --git a/impl/Cargo.toml b/impl/Cargo.toml index 05f0bcc..4344bce 100644 --- a/impl/Cargo.toml +++ b/impl/Cargo.toml @@ -18,3 +18,4 @@ syn = "2.0.23" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +rustdoc-args = ["--generate-link-to-definition"]