Skip to content

Commit ea2f2a2

Browse files
committed
Point standard library links to stable
1 parent 3b78161 commit ea2f2a2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Cargo.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,10 @@ trybuild = { version = "1.0.81", features = ["diff"] }
2929

3030
[package.metadata.docs.rs]
3131
targets = ["x86_64-unknown-linux-gnu"]
32-
rustdoc-args = ["--generate-link-to-definition"]
32+
rustdoc-args = [
33+
"--generate-link-to-definition",
34+
"--extern-html-root-url=core=https://doc.rust-lang.org",
35+
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
36+
"--extern-html-root-url=std=https://doc.rust-lang.org",
37+
"--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
38+
]

0 commit comments

Comments
 (0)