From 77f5ef7d347bfe25987484fc73e81a9ece7f17b3 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 14 Jul 2023 17:47:01 +0200 Subject: [PATCH] Add `--generate-link-to-definition` option when building on docs.rs --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8582fbb61..f54c7b63d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,7 +68,7 @@ rand = "0.8" [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] targets = [ "aarch64-apple-ios", "aarch64-linux-android",