Skip to content

Commit 799ddba

Browse files
committed
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.
1 parent 1edb0e5 commit 799ddba

File tree

40 files changed

+73
-58
lines changed

40 files changed

+73
-58
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
If you're just reporting a bug, please see:
44

5-
http://static.rust-lang.org/doc/master/complement-bugreport.html
5+
http://doc.rust-lang.org/complement-bugreport.html
66

77
## Pull request procedure
88

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ documentation.
1313
> [getting started][wiki-start] notes on the wiki.
1414
1515
[installer]: http://www.rust-lang.org/install.html
16-
[tutorial]: http://static.rust-lang.org/doc/tutorial.html
16+
[tutorial]: http://doc.rust-lang.org/tutorial.html
1717
[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
1818
[win-wiki]: https://github.com/mozilla/rust/wiki/Using-Rust-on-Windows
1919

@@ -60,7 +60,7 @@ documentation.
6060

6161
[repo]: https://github.com/mozilla/rust
6262
[tarball]: http://static.rust-lang.org/dist/rust-nightly.tar.gz
63-
[tutorial]: http://static.rust-lang.org/doc/master/tutorial.html
63+
[tutorial]: http://doc.rust-lang.org/tutorial.html
6464

6565
## Notes
6666

mk/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ doc/footer.tex: $(D)/footer.inc | doc/
156156
# HTML (rustdoc)
157157
DOC_TARGETS += doc/not_found.html
158158
doc/not_found.html: $(D)/not_found.md $(HTML_DEPS) | doc/
159-
$(RUSTDOC) $(RUSTDOC_HTML_OPTS_NO_CSS) --markdown-css http://static.rust-lang.org/doc/master/rust.css $<
159+
$(RUSTDOC) $(RUSTDOC_HTML_OPTS_NO_CSS) --markdown-css http://doc.rust-lang.org/rust.css $<
160160

161161
define DEF_DOC
162162

src/doc/complement-cheatsheet.md

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
**Int to string**
66

7-
Use [`ToStr`](http://static.rust-lang.org/doc/master/std/to_str/trait.ToStr.html).
7+
Use [`ToStr`](../std/to_str/trait.ToStr.html).
88

99
~~~
1010
let x: int = 42;
@@ -13,7 +13,8 @@ let y: StrBuf = x.to_str().to_strbuf();
1313

1414
**String to int**
1515

16-
Use [`FromStr`](http://static.rust-lang.org/doc/master/std/from_str/trait.FromStr.html), and its helper function, [`from_str`](http://static.rust-lang.org/doc/master/std/from_str/fn.from_str.html).
16+
Use [`FromStr`](../std/from_str/trait.FromStr.html), and its helper function,
17+
[`from_str`](../std/from_str/fn.from_str.html).
1718

1819
~~~
1920
let x: Option<int> = from_str("42");
@@ -34,7 +35,8 @@ let y: StrBuf = format_strbuf!("{:X}", x); // uppercase hexadecimal
3435

3536
**String to int, in non-base-10**
3637

37-
Use [`FromStrRadix`](http://static.rust-lang.org/doc/master/std/num/trait.FromStrRadix.html), and its helper function, [`from_str_radix`](http://static.rust-lang.org/doc/master/std/num/fn.from_str_radix.html).
38+
Use [`FromStrRadix`](../std/num/trait.FromStrRadix.html), and its helper
39+
function, [`from_str_radix`](../std/num/fn.from_str_radix.html).
3840

3941
~~~
4042
use std::num;
@@ -45,7 +47,8 @@ let y: i64 = x.unwrap();
4547

4648
**Vector of Bytes to String**
4749

48-
To return a Borrowed String Slice (&str) use the str helper function [`from_utf8`](http://static.rust-lang.org/doc/master/std/str/fn.from_utf8.html).
50+
To return a Borrowed String Slice (&str) use the str helper function
51+
[`from_utf8`](../std/str/fn.from_utf8.html).
4952

5053
~~~
5154
use std::str;
@@ -55,7 +58,8 @@ let x: Option<&str> = str::from_utf8(bytes);
5558
let y: &str = x.unwrap();
5659
~~~
5760

58-
To return an Owned String (StrBuf) use the str helper function [`from_utf8_owned`](http://static.rust-lang.org/doc/master/std/str/fn.from_utf8_owned.html).
61+
To return an Owned String (StrBuf) use the str helper function
62+
[`from_utf8_owned`](../std/str/fn.from_utf8_owned.html).
5963

6064
~~~
6165
use std::str;
@@ -65,7 +69,10 @@ let x: Result<StrBuf,~[u8]> =
6569
let y: StrBuf = x.unwrap();
6670
~~~
6771

68-
To return a [`MaybeOwned`](http://static.rust-lang.org/doc/master/std/str/enum.MaybeOwned.html) use the str helper function [`from_utf8_lossy`](http://static.rust-lang.org/doc/master/std/str/fn.from_utf8_owned.html). This function also replaces non-valid utf-8 sequences with U+FFFD replacement character.
72+
To return a [`MaybeOwned`](../std/str/enum.MaybeOwned.html) use the str helper
73+
function [`from_utf8_lossy`](../std/str/fn.from_utf8_owned.html).
74+
This function also replaces non-valid utf-8 sequences with U+FFFD replacement
75+
character.
6976

7077
~~~
7178
use std::str;
@@ -78,7 +85,13 @@ let y = str::from_utf8_lossy(x);
7885

7986
## How do I read from a file?
8087

81-
Use [`File::open`](http://static.rust-lang.org/doc/master/std/io/fs/struct.File.html#method.open) to create a [`File`](http://static.rust-lang.org/doc/master/std/io/fs/struct.File.html) struct, which implements the [`Reader`](http://static.rust-lang.org/doc/master/std/io/trait.Reader.html) trait.
88+
Use
89+
[`File::open`](../std/io/fs/struct.File.html#method.open)
90+
to create a
91+
[`File`](../std/io/fs/struct.File.html)
92+
struct, which implements the
93+
[`Reader`](../std/io/trait.Reader.html)
94+
trait.
8295

8396
~~~ {.ignore}
8497
use std::path::Path;
@@ -91,7 +104,7 @@ let reader : File = File::open(&path).unwrap_or_else(on_error);
91104

92105
## How do I iterate over the lines in a file?
93106

94-
Use the [`lines`](http://static.rust-lang.org/doc/master/std/io/trait.Buffer.html#method.lines) method on a [`BufferedReader`](http://static.rust-lang.org/doc/master/std/io/buffered/struct.BufferedReader.html).
107+
Use the [`lines`](../std/io/trait.Buffer.html#method.lines) method on a [`BufferedReader`](../std/io/buffered/struct.BufferedReader.html).
95108

96109
~~~
97110
use std::io::BufferedReader;
@@ -109,7 +122,7 @@ for line in reader.lines() {
109122

110123
## How do I search for a substring?
111124

112-
Use the [`find_str`](http://static.rust-lang.org/doc/master/std/str/trait.StrSlice.html#tymethod.find_str) method.
125+
Use the [`find_str`](../std/str/trait.StrSlice.html#tymethod.find_str) method.
113126

114127
~~~
115128
let str = "Hello, this is some random string";
@@ -120,7 +133,7 @@ let index: Option<uint> = str.find_str("rand");
120133

121134
## How do I get the length of a vector?
122135

123-
The [`Container`](http://static.rust-lang.org/doc/master/std/container/trait.Container.html) trait provides the `len` method.
136+
The [`Container`](../std/container/trait.Container.html) trait provides the `len` method.
124137

125138
~~~
126139
let u: ~[u32] = ~[0, 1, 2];
@@ -132,7 +145,7 @@ println!("u: {}, v: {}, w: {}", u.len(), v.len(), w.len()); // 3, 4, 5
132145

133146
## How do I iterate over a vector?
134147

135-
Use the [`iter`](http://static.rust-lang.org/doc/master/std/vec/trait.ImmutableVector.html#tymethod.iter) method.
148+
Use the [`iter`](../std/vec/trait.ImmutableVector.html#tymethod.iter) method.
136149

137150
~~~
138151
let values: ~[int] = ~[1, 2, 3, 4, 5];
@@ -141,7 +154,10 @@ for value in values.iter() { // value: &int
141154
}
142155
~~~
143156

144-
(See also [`mut_iter`](http://static.rust-lang.org/doc/master/std/vec/trait.MutableVector.html#tymethod.mut_iter) which yields `&mut int` and [`move_iter`](http://static.rust-lang.org/doc/master/std/vec/trait.OwnedVector.html#tymethod.move_iter) which yields `int` while consuming the `values` vector.)
157+
(See also [`mut_iter`](../std/vec/trait.MutableVector.html#tymethod.mut_iter)
158+
which yields `&mut int` and
159+
[`move_iter`](../std/vec/trait.OwnedVector.html#tymethod.move_iter) which yields
160+
`int` while consuming the `values` vector.)
145161

146162
# Type system
147163

src/doc/not_found.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ Some things that might be helpful to you though:
1313

1414
## Reference
1515
* [The Rust official site](http://rust-lang.org)
16-
* [The Rust reference manual](http://static.rust-lang.org/doc/master/rust.html) (* [PDF](http://static.rust-lang.org/doc/master/rust.pdf))
16+
* [The Rust reference manual](http://doc.rust-lang.org/rust.html) (* [PDF](http://doc.rust-lang.org/rust.pdf))
1717

1818
## Docs
19-
* [The standard library (stable)](http://doc.rust-lang.org/doc/0.10/std/index.html)
20-
* [The standard library (master)](http://doc.rust-lang.org/doc/master/std/index.html)
19+
* [The standard library](http://doc.rust-lang.org/std/)

src/doc/rustdoc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ documentation:
6767
~~~
6868
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
6969
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
70-
html_root_url = "http://static.rust-lang.org/doc/master")];
70+
html_root_url = "http://doc.rust-lang.org/")];
7171
~~~
7272

7373
The `html_root_url` is the prefix that rustdoc will apply to any references to

src/doc/tutorial.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ let y: uint = x as uint;
382382
assert!(y == 4u);
383383
~~~~
384384

385-
[transmute]: http://static.rust-lang.org/doc/master/std/cast/fn.transmute.html
385+
[transmute]: http://doc.rust-lang.org/std/mem/fn.transmute.html
386386

387387
## Syntax extensions
388388

@@ -409,7 +409,7 @@ println!("what is this thing: {:?}", mystery_object);
409409
~~~~
410410

411411
[pf]: http://en.cppreference.com/w/cpp/io/c/fprintf
412-
[fmt]: http://static.rust-lang.org/doc/master/std/fmt/index.html
412+
[fmt]: http://doc.rust-lang.org/std/fmt/
413413

414414
You can define your own syntax extensions with the macro system. For details,
415415
see the [macro tutorial][macros]. Note that macro definition is currently
@@ -959,8 +959,8 @@ that are `Send`, but non-`Send` types can still *contain* types with custom
959959
destructors. Example of types which are not `Send` are [`Gc<T>`][gc] and
960960
[`Rc<T>`][rc], the shared-ownership types.
961961

962-
[gc]: http://static.rust-lang.org/doc/master/std/gc/struct.Gc.html
963-
[rc]: http://static.rust-lang.org/doc/master/std/rc/struct.Rc.html
962+
[gc]: http://doc.rust-lang.org/std/gc/struct.Gc.html
963+
[rc]: http://doc.rust-lang.org/std/rc/struct.Rc.html
964964

965965
# Implementing a linked list
966966

@@ -1486,7 +1486,7 @@ let mut x = 5;
14861486
# x = 3;
14871487
~~~~
14881488

1489-
[refcell]: http://static.rust-lang.org/doc/master/std/cell/struct.RefCell.html
1489+
[refcell]: http://doc.rust-lang.org/std/cell/struct.RefCell.html
14901490

14911491
# Dereferencing pointers
14921492

src/liballoc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#![crate_type = "rlib"]
6666
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
6767
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
68-
html_root_url = "http://static.rust-lang.org/doc/master")]
68+
html_root_url = "http://doc.rust-lang.org/")]
6969

7070
#![no_std]
7171
#![feature(phase)]

src/libarena/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#![license = "MIT/ASL2"]
2626
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
2727
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
28-
html_root_url = "http://static.rust-lang.org/doc/master")]
28+
html_root_url = "http://doc.rust-lang.org/")]
2929
#![allow(missing_doc)]
3030

3131
extern crate collections;

src/libcollections/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#![license = "MIT/ASL2"]
1919
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
2020
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
21-
html_root_url = "http://static.rust-lang.org/doc/master")]
21+
html_root_url = "http://doc.rust-lang.org/")]
2222

2323
#![feature(macro_rules, managed_boxes, default_type_params, phase)]
2424

src/libcore/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This `for` loop syntax can be applied to any iterator over any type.
5959
## Iteration protocol and more
6060
6161
More detailed information about iterators can be found in the [container
62-
guide](http://static.rust-lang.org/doc/master/guide-container.html) with
62+
guide](http://doc.rust-lang.org/guide-container.html) with
6363
the rest of the rust manuals.
6464
6565
*/

src/libcore/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#![crate_type = "rlib"]
5151
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
5252
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
53-
html_root_url = "http://static.rust-lang.org/doc/master")]
53+
html_root_url = "http://doc.rust-lang.org/")]
5454

5555
#![no_std]
5656
#![feature(globs, macro_rules, managed_boxes, phase)]

src/libflate/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Simple [DEFLATE][def]-based compression. This is a wrapper around the
2424
#![license = "MIT/ASL2"]
2525
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
2626
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
27-
html_root_url = "http://static.rust-lang.org/doc/master")]
27+
html_root_url = "http://doc.rust-lang.org/")]
2828
#![feature(phase)]
2929
#![deny(deprecated_owned_vector)]
3030

src/libfourcc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn main() {
4545
#![license = "MIT/ASL2"]
4646
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
4747
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
48-
html_root_url = "http://static.rust-lang.org/doc/master")]
48+
html_root_url = "http://doc.rust-lang.org/")]
4949

5050
#![deny(deprecated_owned_vector)]
5151
#![feature(macro_registrar, managed_boxes)]

src/libgetopts/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
#![license = "MIT/ASL2"]
8585
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
8686
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
87-
html_root_url = "http://static.rust-lang.org/doc/master")]
87+
html_root_url = "http://doc.rust-lang.org/")]
8888
#![feature(globs, phase)]
8989
#![deny(missing_doc)]
9090
#![deny(deprecated_owned_vector)]

src/libglob/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#![license = "MIT/ASL2"]
3030
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
3131
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
32-
html_root_url = "http://static.rust-lang.org/doc/master")]
32+
html_root_url = "http://doc.rust-lang.org/")]
3333

3434
#![deny(deprecated_owned_vector)]
3535

src/libgraphviz/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ pub fn main() {
272272
#![license = "MIT/ASL2"]
273273
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
274274
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
275-
html_root_url = "http://static.rust-lang.org/doc/master")]
275+
html_root_url = "http://doc.rust-lang.org/")]
276276

277277
#![experimental]
278278

src/libgreen/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
#![crate_type = "dylib"]
204204
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
205205
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
206-
html_root_url = "http://static.rust-lang.org/doc/master")]
206+
html_root_url = "http://doc.rust-lang.org/")]
207207

208208
// NB this does *not* include globs, please keep it that way.
209209
#![feature(macro_rules, phase)]

src/libhexfloat/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn main() {
4242
#![license = "MIT/ASL2"]
4343
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
4444
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
45-
html_root_url = "http://static.rust-lang.org/doc/master")]
45+
html_root_url = "http://doc.rust-lang.org/")]
4646

4747
#![deny(deprecated_owned_vector)]
4848
#![feature(macro_registrar, managed_boxes)]

src/liblog/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ if logging is disabled, none of the components of the log will be executed.
111111
#![crate_type = "dylib"]
112112
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
113113
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
114-
html_root_url = "http://static.rust-lang.org/doc/master")]
114+
html_root_url = "http://doc.rust-lang.org/")]
115115

116116
#![feature(macro_rules)]
117117
#![deny(missing_doc, deprecated_owned_vector)]

src/libnative/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#![crate_type = "dylib"]
4848
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
4949
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
50-
html_root_url = "http://static.rust-lang.org/doc/master")]
50+
html_root_url = "http://doc.rust-lang.org/")]
5151
#![deny(unused_result, unused_must_use)]
5252
#![allow(non_camel_case_types)]
5353
#![feature(macro_rules)]

src/libnum/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#![license = "MIT/ASL2"]
5151
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
5252
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
53-
html_root_url = "http://static.rust-lang.org/doc/master")]
53+
html_root_url = "http://doc.rust-lang.org/")]
5454

5555
#![deny(deprecated_owned_vector)]
5656

src/librand/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ println!("{:?}", tuple_ptr)
7575
#![crate_type = "rlib"]
7676
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
7777
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
78-
html_root_url = "http://static.rust-lang.org/doc/master")]
78+
html_root_url = "http://doc.rust-lang.org/")]
7979

8080
#![feature(macro_rules, managed_boxes, phase)]
8181
#![deny(deprecated_owned_vector)]

src/libregex/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@
359359
#![license = "MIT/ASL2"]
360360
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
361361
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
362-
html_root_url = "http://static.rust-lang.org/doc/master")]
362+
html_root_url = "http://doc.rust-lang.org/")]
363363

364364
#![feature(macro_rules, phase)]
365365
#![deny(missing_doc, deprecated_owned_vector)]

src/libregex_macros/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#![license = "MIT/ASL2"]
1818
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
1919
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
20-
html_root_url = "http://static.rust-lang.org/doc/master")]
20+
html_root_url = "http://doc.rust-lang.org/")]
2121

2222
#![feature(macro_registrar, managed_boxes, quote)]
2323

src/librlibc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#![crate_type = "rlib"]
2626
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
2727
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
28-
html_root_url = "http://static.rust-lang.org/doc/master")]
28+
html_root_url = "http://doc.rust-lang.org/")]
2929

3030
#![no_std]
3131
#![experimental]

src/librustc/driver/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub fn main_args(args: &[StrBuf]) -> int {
4242
}
4343

4444
static BUG_REPORT_URL: &'static str =
45-
"http://static.rust-lang.org/doc/master/complement-bugreport.html";
45+
"http://doc.rust-lang.org/complement-bugreport.html";
4646

4747
fn run_compiler(args: &[StrBuf]) {
4848
let matches = match handle_options(Vec::from_slice(args)) {

0 commit comments

Comments
 (0)