From 415e7111967cd5ebc8fa9949f848b54e16b8d96b Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 14 Jul 2023 17:35:17 +0200 Subject: [PATCH] Add `--generate-link-to-definition` option when building on docs.rs --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 1a6245f41..e5c8a224b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,3 +68,4 @@ inline-more = [] [package.metadata.docs.rs] features = ["nightly", "rayon", "serde", "raw"] +rustdoc-args = ["--generate-link-to-definition"]