about summary refs log tree commit diff
path: root/src/test/bench/task-perf-spawnalot.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench/task-perf-spawnalot.rs')
-rw-r--r--src/test/bench/task-perf-spawnalot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/task-perf-spawnalot.rs b/src/test/bench/task-perf-spawnalot.rs
index a152c302133..83116ae3c87 100644
--- a/src/test/bench/task-perf-spawnalot.rs
+++ b/src/test/bench/task-perf-spawnalot.rs
@@ -31,7 +31,7 @@ fn main() {
     } else {
         args
     };
-    let n = uint::from_str(args[1]).get();
+    let n = uint::from_str(args[1]).unwrap();
     let mut i = 0u;
     while i < n { task::spawn(|| f(n) ); i += 1u; }
 }