Skip to content

Commit fd56688

Browse files
committed
---
yaml --- r: 44607 b: refs/heads/master c: f684a8a h: refs/heads/master i: 44605: 5e59e19 44603: b13d459 44599: 8e2b2b7 44591: c689a50 44575: 197eaee 44543: 3cf9bba v: v3
1 parent d7fd993 commit fd56688

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
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: 2ec958db5ae37f193d4d632635818241b134a617
2+
refs/heads/master: f684a8a56be054997c1df8807eac9d5cad221979
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
55
refs/heads/try: ef355f6332f83371e4acf04fc4eb940ab41d78d3

trunk/doc/tutorial.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ for more information on them.
114114

115115
When complete, `make install` will place several programs into
116116
`/usr/local/bin`: `rustc`, the Rust compiler; `rustdoc`, the
117-
API-documentation tool; `cargo`, the Rust package manager;
118-
and `rusti`, the Rust REPL.
117+
API-documentation tool; `rustpkg`, the Rust package manager;
118+
`rusti`, the Rust REPL; and `rust`, a tool which acts as a unified way to
119+
call them, either directly or with common command line arguments.
119120

120121
[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
121122
[tarball]: http://static.rust-lang.org/dist/rust-0.5.tar.gz
@@ -2184,7 +2185,7 @@ impl Circle for CircleStruct {
21842185
}
21852186
impl Shape for CircleStruct {
21862187
fn area(&self) -> float { pi * square(self.radius) }
2187-
}
2188+
}
21882189
~~~~
21892190

21902191
Notice that methods of `Circle` can call methods on `Shape`, as our

trunk/src/test/bench/core-map.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,26 +302,26 @@ fn main() {
302302
}
303303
};
304304

305-
let seed = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
305+
let seed = ~[1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
306306

307307
{
308-
let rng = rand::seeded_rng(seed);
308+
let rng = rand::seeded_rng(&seed);
309309
let mut results = empty_results();
310310
old_int_benchmarks(rng, num_keys, &mut results);
311311
old_str_benchmarks(rng, num_keys, &mut results);
312312
write_results("std::oldmap::HashMap", &results);
313313
}
314314

315315
{
316-
let rng = rand::seeded_rng(seed);
316+
let rng = rand::seeded_rng(&seed);
317317
let mut results = empty_results();
318318
linear_int_benchmarks(rng, num_keys, &mut results);
319319
linear_str_benchmarks(rng, num_keys, &mut results);
320320
write_results("core::hashmap::linear::LinearMap", &results);
321321
}
322322

323323
{
324-
let rng = rand::seeded_rng(seed);
324+
let rng = rand::seeded_rng(&seed);
325325
let mut results = empty_results();
326326
tree_int_benchmarks(rng, num_keys, &mut results);
327327
tree_str_benchmarks(rng, num_keys, &mut results);

trunk/src/test/bench/core-set.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,27 +152,27 @@ fn main() {
152152
}
153153
};
154154

155-
let seed = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
155+
let seed = ~[1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
156156
let max = 200000;
157157

158158
{
159-
let rng = rand::seeded_rng(seed);
159+
let rng = rand::seeded_rng(&seed);
160160
let mut results = empty_results();
161161
results.bench_int(rng, num_keys, max, || LinearSet::new::<uint>());
162162
results.bench_str(rng, num_keys, || LinearSet::new::<~str>());
163163
write_results("core::hashmap::LinearSet", &results);
164164
}
165165

166166
{
167-
let rng = rand::seeded_rng(seed);
167+
let rng = rand::seeded_rng(&seed);
168168
let mut results = empty_results();
169169
results.bench_int(rng, num_keys, max, || TreeSet::new::<uint>());
170170
results.bench_str(rng, num_keys, || TreeSet::new::<~str>());
171171
write_results("std::treemap::TreeSet", &results);
172172
}
173173

174174
{
175-
let rng = rand::seeded_rng(seed);
175+
let rng = rand::seeded_rng(&seed);
176176
let mut results = empty_results();
177177
results.bench_int(rng, num_keys, max, || BitvSet::new());
178178
write_results("std::bitv::BitvSet", &results);

0 commit comments

Comments
 (0)