Set html_root_url
diff --git a/Cargo.toml b/Cargo.toml
index a644af2..f6ca9c6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "proc-macro2"
-version = "0.1.10"
+version = "0.1.10" # remember to update html_root_url
 authors = ["Alex Crichton <alex@alexcrichton.com>"]
 license = "MIT/Apache-2.0"
 readme = "README.md"
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;