Skip to content

Commit 6b198a0

Browse files
committed
---
yaml --- r: 23199 b: refs/heads/master c: 9600744 h: refs/heads/master i: 23197: 942fbad 23195: 16f15b1 23191: daf76c5 23183: 348b19c 23167: 9bc134b v: v3
1 parent c11d93e commit 6b198a0

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
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: 9c034464fee35d526369c4eccb8ac32244c52411
2+
refs/heads/master: 96007441e16559c3259cf94e29857c01452c51a6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/test/bench/msgsend-pipes-shared.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fn run(args: &[~str]) {
7171
server(from_parent, to_parent);
7272
}
7373

74-
vec::iter(worker_results, |r| { future::get(r); } );
74+
vec::iter(worker_results, |r| { future::get(&r); } );
7575
//error!{"sending stop message"};
7676
to_child.send(stop);
7777
move_out!{to_child};

trunk/src/test/bench/msgsend-pipes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn run(args: &[~str]) {
6868
server(from_parent, to_parent);
6969
}
7070

71-
vec::iter(worker_results, |r| { future::get(r); } );
71+
vec::iter(worker_results, |r| { future::get(&r); } );
7272
//error!{"sending stop message"};
7373
to_child.send(stop);
7474
move_out!{to_child};

trunk/src/test/bench/msgsend-ring-pipes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ fn main(args: ~[~str]) {
9494
thread_ring(0u, msg_per_task, option::unwrap(num_chan), num_port);
9595

9696
// synchronize
97-
for futures.each |f| { future::get(f) };
97+
for futures.each |f| { future::get(&f) };
9898

9999
let stop = time::precise_time_s();
100100

trunk/src/test/bench/msgsend.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fn run(args: ~[~str]) {
4444
}
4545
};
4646
}
47-
vec::iter(worker_results, |r| { future::get(r); } );
47+
vec::iter(worker_results, |r| { future::get(&r); } );
4848
comm::send(to_child, stop);
4949
let result = comm::recv(from_child);
5050
let end = std::time::precise_time_s();

trunk/src/test/bench/shootout-pfib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ fn stress(num_tasks: int) {
7676
stress_task(i);
7777
}
7878
}
79-
for results.each |r| { future::get(r); }
79+
for results.each |r| { future::get(&r); }
8080
}
8181

8282
fn main(args: ~[~str]) {

trunk/src/test/bench/task-perf-linked-failure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fn spawn_supervised_blocking(myname: &str, +f: fn~()) {
3333
let mut res = none;
3434
task::task().future_result(|+r| res = some(r)).supervised().spawn(f);
3535
#error["%s group waiting", myname];
36-
let x = future::get(option::unwrap(res));
36+
let x = future::get(&option::unwrap(res));
3737
assert x == task::success;
3838
}
3939

0 commit comments

Comments
 (0)