about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-21 19:55:39 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-21 19:55:39 -0700
commit799ddba8dac2e6b6a7dc6927a7cc0b5e785deecb (patch)
tree1e997a0c9d3c5072c35eab6191655796b0897720 /src/libsyntax
parent1edb0e536433056738b7f715dd02ff1de582f2ba (diff)
downloadrust-799ddba8dac2e6b6a7dc6927a7cc0b5e785deecb.tar.gz
rust-799ddba8dac2e6b6a7dc6927a7cc0b5e785deecb.zip
Change static.rust-lang.org to doc.rust-lang.org
The new documentation site has shorter urls, gzip'd content, and index.html
redirecting functionality.
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)]