Skip to content

Commit 69afce6

Browse files
emberianalexcrichton
authored andcommitted
Update task-perf-one-million
1 parent dee7fa5 commit 69afce6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/bench/task-perf-one-million.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fn main() {
5656
args
5757
};
5858

59-
let children = from_str::<uint>(args[1]).get();
59+
let children = from_str::<uint>(args[1]).unwrap();
6060
let (wait_port, wait_chan) = stream();
6161
do task::spawn {
6262
calc(children, &wait_chan);
@@ -66,5 +66,5 @@ fn main() {
6666
let (sum_port, sum_chan) = stream::<int>();
6767
start_chan.send(sum_chan);
6868
let sum = sum_port.recv();
69-
error!("How many tasks? %d tasks.", sum);
69+
error!("How many tasks? {} tasks.", sum);
7070
}

0 commit comments

Comments
 (0)