Skip to content

Commit

Permalink
Opt in to generate-link-to-definition when building on docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 15, 2023
1 parent 075af34 commit 4aa58e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version = "1.31"

[package.metadata.docs.rs]
rustc-args = ["--cfg", "procmacro2_semver_exempt"]
rustdoc-args = ["--cfg", "procmacro2_semver_exempt", "--cfg", "doc_cfg"]
rustdoc-args = ["--cfg", "procmacro2_semver_exempt", "--cfg", "doc_cfg", "--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]

[package.metadata.playground]
Expand Down

0 comments on commit 4aa58e3

Please sign in to comment.