Skip to content

Commit fc3ab95

Browse files
committed
Opt in to generate-macro-expansion when building on docs.rs
1 parent 819fe29 commit fc3ab95

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ members = ["impl", "tests/no-std"]
4343
targets = ["x86_64-unknown-linux-gnu"]
4444
rustdoc-args = [
4545
"--generate-link-to-definition",
46+
"--generate-macro-expansion",
4647
"--extern-html-root-url=core=https://doc.rust-lang.org",
4748
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
4849
"--extern-html-root-url=std=https://doc.rust-lang.org",

impl/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ syn = "2.0.87"
2020
targets = ["x86_64-unknown-linux-gnu"]
2121
rustdoc-args = [
2222
"--generate-link-to-definition",
23+
"--generate-macro-expansion",
2324
"--extern-html-root-url=core=https://doc.rust-lang.org",
2425
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
2526
"--extern-html-root-url=std=https://doc.rust-lang.org",

0 commit comments

Comments
 (0)