diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-21 19:55:39 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-21 19:55:39 -0700 |
| commit | 799ddba8dac2e6b6a7dc6927a7cc0b5e785deecb (patch) | |
| tree | 1e997a0c9d3c5072c35eab6191655796b0897720 /src/doc/tutorial.md | |
| parent | 1edb0e536433056738b7f715dd02ff1de582f2ba (diff) | |
| download | rust-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/doc/tutorial.md')
| -rw-r--r-- | src/doc/tutorial.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 0b076dcde5d..7a0a1662742 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -382,7 +382,7 @@ let y: uint = x as uint; assert!(y == 4u); ~~~~ -[transmute]: http://static.rust-lang.org/doc/master/std/cast/fn.transmute.html +[transmute]: http://doc.rust-lang.org/std/mem/fn.transmute.html ## Syntax extensions @@ -409,7 +409,7 @@ println!("what is this thing: {:?}", mystery_object); ~~~~ [pf]: http://en.cppreference.com/w/cpp/io/c/fprintf -[fmt]: http://static.rust-lang.org/doc/master/std/fmt/index.html +[fmt]: http://doc.rust-lang.org/std/fmt/ You can define your own syntax extensions with the macro system. For details, 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 destructors. Example of types which are not `Send` are [`Gc<T>`][gc] and [`Rc<T>`][rc], the shared-ownership types. -[gc]: http://static.rust-lang.org/doc/master/std/gc/struct.Gc.html -[rc]: http://static.rust-lang.org/doc/master/std/rc/struct.Rc.html +[gc]: http://doc.rust-lang.org/std/gc/struct.Gc.html +[rc]: http://doc.rust-lang.org/std/rc/struct.Rc.html # Implementing a linked list @@ -1486,7 +1486,7 @@ let mut x = 5; # x = 3; ~~~~ -[refcell]: http://static.rust-lang.org/doc/master/std/cell/struct.RefCell.html +[refcell]: http://doc.rust-lang.org/std/cell/struct.RefCell.html # Dereferencing pointers |
