Skip to content

Commit 4aa58e3

Browse files
committed
Opt in to generate-link-to-definition when building on docs.rs
1 parent 075af34 commit 4aa58e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rust-version = "1.31"
1414

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

2020
[package.metadata.playground]

0 commit comments

Comments
 (0)