about summary refs log tree commit diff
path: root/src/test/bench/shootout-binarytrees.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench/shootout-binarytrees.rs')
-rw-r--r--src/test/bench/shootout-binarytrees.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/shootout-binarytrees.rs b/src/test/bench/shootout-binarytrees.rs
index 57bf33fb2fd..8a2ae3e8995 100644
--- a/src/test/bench/shootout-binarytrees.rs
+++ b/src/test/bench/shootout-binarytrees.rs
@@ -48,7 +48,7 @@ fn main() {
         args
     };
 
-    let n = int::from_str(args[1]).get();
+    let n = int::from_str(args[1]).unwrap();
     let min_depth = 4;
     let mut max_depth;
     if min_depth + 2 > n {