commit | 15cc498f9e2d505bc4523dd62526b2da36af3684 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Mon Jan 08 08:03:27 2018 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Mon Jan 08 08:03:27 2018 -0800 |
tree | f0b66e03f5d474b4aee86990599f9acad062dc67 | |
parent | ee04a5d8467a27dee408a2924dfa6a29b6b17bc8 [diff] [blame] |
Set html_root_url
diff --git a/src/lib.rs b/src/lib.rs index 38439c8..87708ee 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -19,6 +19,9 @@ //! This'll allow immediate usage of the beneficial upstream API, particularly //! around preserving span information. +// Proc-macro2 types in rustdoc of other crates get linked to here. +#![doc(html_root_url = "https://docs.rs/proc-macro2/0.1.10")] + #![cfg_attr(feature = "nightly", feature(proc_macro))] extern crate proc_macro;