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 21, 2023
1 parent 905e761 commit 5abd4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ doc-scrape-examples = false

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

[patch.crates-io]
ref-cast = { path = "." }
1 change: 1 addition & 0 deletions derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ ref-cast = "1"

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

0 comments on commit 5abd4b9

Please sign in to comment.