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 c7988ff commit 95ba834
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 @@ -25,3 +25,4 @@ members = ["unindent"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]
1 change: 1 addition & 0 deletions unindent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ doc-scrape-examples = false

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

0 comments on commit 95ba834

Please sign in to comment.