Skip to content

Commit 5f07160

Browse files
committed
Point standard library links to stable
1 parent 6706a51 commit 5f07160

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Cargo.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,9 @@ members = ["impl", "tests/no-std"]
4141

4242
[package.metadata.docs.rs]
4343
targets = ["x86_64-unknown-linux-gnu"]
44-
rustdoc-args = ["--generate-link-to-definition"]
44+
rustdoc-args = [
45+
"--generate-link-to-definition",
46+
"--extern-html-root-url=core=https://doc.rust-lang.org",
47+
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
48+
"--extern-html-root-url=std=https://doc.rust-lang.org",
49+
]

impl/Cargo.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,10 @@ syn = "2.0.87"
1818

1919
[package.metadata.docs.rs]
2020
targets = ["x86_64-unknown-linux-gnu"]
21-
rustdoc-args = ["--generate-link-to-definition"]
21+
rustdoc-args = [
22+
"--generate-link-to-definition",
23+
"--extern-html-root-url=core=https://doc.rust-lang.org",
24+
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
25+
"--extern-html-root-url=std=https://doc.rust-lang.org",
26+
"--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
27+
]

0 commit comments

Comments
 (0)