about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/fmt.rs2
-rw-r--r--src/libsyntax/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/fmt.rs b/src/libsyntax/ext/fmt.rs
index 0907541eee0..4185458bfbe 100644
--- a/src/libsyntax/ext/fmt.rs
+++ b/src/libsyntax/ext/fmt.rs
@@ -22,7 +22,7 @@ pub fn expand_syntax_ext(ecx: &mut base::ExtCtxt,
                          -> Box<base::MacResult> {
     ecx.span_err(sp, "`fmt!` is deprecated, use `format!` instead");
     ecx.parse_sess.span_diagnostic.span_note(sp,
-        "see http://static.rust-lang.org/doc/master/std/fmt/index.html \
+        "see http://doc.rust-lang.org/std/fmt/ \
          for documentation");
 
     base::MacExpr::new(ecx.expr_uint(sp, 2))
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index 1086295d427..52612bb4dec 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -24,7 +24,7 @@ This API is completely unstable and subject to change.
 #![crate_type = "rlib"]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
-       html_root_url = "http://static.rust-lang.org/doc/master")]
+       html_root_url = "http://doc.rust-lang.org/")]
 
 #![feature(macro_rules, globs, managed_boxes, default_type_params, phase,
            quote)]