From 799ddba8dac2e6b6a7dc6927a7cc0b5e785deecb Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 21 May 2014 19:55:39 -0700 Subject: 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. --- src/libsyntax/ext/fmt.rs | 2 +- src/libsyntax/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax') 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 { 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)] -- cgit 1.4.1-3-g733a5