diff --git a/Cargo.toml b/Cargo.toml index 6e9edc9224f..ce5b78eff47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ include.workspace = true [package.metadata.docs.rs] features = ["unstable-doc"] -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] [package.metadata.playground]