aboutsummaryrefslogtreecommitdiff
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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/bench/shootout/binarytrees.rs b/src/test/bench/shootout/binarytrees.rs
index aa81aaac..735ac2d5 100644
--- a/src/test/bench/shootout/binarytrees.rs
+++ b/src/test/bench/shootout/binarytrees.rs
@@ -1,6 +1,6 @@
use std;
-import std.Int;
+import std::_int;
tag tree {
nil;
@@ -49,7 +49,7 @@ fn main() {
auto depth = min_depth;
while (depth <= max_depth) {
- auto iterations = Int.pow(2, (max_depth - depth + min_depth) as uint);
+ auto iterations = _int::pow(2, (max_depth - depth + min_depth) as uint);
auto chk = 0;
auto i = 1;