Skip to content

Commit cea0e51

Browse files
committed
---
yaml --- r: 67014 b: refs/heads/master c: 874eb19 h: refs/heads/master v: v3
1 parent b590b95 commit cea0e51

File tree

9 files changed

+98
-177
lines changed

9 files changed

+98
-177
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: bb8b83a680ce75833e68415f1124de2ff1576318
2+
refs/heads/master: 874eb1939b2adeef7c9e7181d3b839948ab3cfe7
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/doc/tutorial.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ supported build environments that are most likely to work.
8484
> know.
8585
8686
[bug-3319]: https://github.com/mozilla/rust/issues/3319
87-
[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
87+
[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
8888

8989
To build from source you will also need the following prerequisite
9090
packages:
@@ -118,7 +118,6 @@ API-documentation tool; `rustpkg`, the Rust package manager;
118118
`rusti`, the Rust REPL; and `rust`, a tool which acts both as a unified
119119
interface for them, and for a few common command line scenarios.
120120

121-
[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
122121
[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz
123122
[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe
124123

@@ -410,8 +409,6 @@ println(fmt!("what is this thing: %?", mystery_object));
410409

411410
You can define your own syntax extensions with the macro system. For details, see the [macro tutorial][macros].
412411

413-
[macros]: tutorial-macros.html
414-
415412
# Control structures
416413

417414
## Conditionals
@@ -1517,8 +1514,6 @@ closures, but they also own them: that is, no other code can access
15171514
them. Owned closures are used in concurrent code, particularly
15181515
for spawning [tasks][tasks].
15191516

1520-
[tasks]: tutorial-tasks.html
1521-
15221517
## Closure compatibility
15231518

15241519
Rust closures have a convenient subtyping property: you can pass any kind of
@@ -2543,9 +2538,4 @@ There is further documentation on the [wiki].
25432538
[ffi]: tutorial-ffi.html
25442539

25452540
[wiki]: https://github.com/mozilla/rust/wiki/Docs
2546-
[unit testing]: https://github.com/mozilla/rust/wiki/Doc-unit-testing
2547-
[rustdoc]: https://github.com/mozilla/rust/wiki/Doc-using-rustdoc
2548-
[cargo]: https://github.com/mozilla/rust/wiki/Doc-using-cargo-to-manage-packages
2549-
[attributes]: https://github.com/mozilla/rust/wiki/Doc-attributes
25502541

2551-
[pound-rust]: http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust

trunk/src/libextra/json.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,9 +1086,8 @@ impl serialize::Decoder for Decoder {
10861086
debug!("read_map()");
10871087
let len = match self.stack.pop() {
10881088
Object(obj) => {
1089-
let mut obj = obj;
10901089
let len = obj.len();
1091-
do obj.consume |key, value| {
1090+
for obj.consume().advance |(key, value)| {
10921091
self.stack.push(value);
10931092
self.stack.push(String(key));
10941093
}

0 commit comments

Comments
 (0)