diff options
Diffstat (limited to 'src/test/bench/shootout/fannkuchredux.rs')
| -rw-r--r-- | src/test/bench/shootout/fannkuchredux.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/bench/shootout/fannkuchredux.rs b/src/test/bench/shootout/fannkuchredux.rs index 7853a892..ad3d7dd2 100644 --- a/src/test/bench/shootout/fannkuchredux.rs +++ b/src/test/bench/shootout/fannkuchredux.rs @@ -2,8 +2,8 @@ use std; -import std._int; -import std._vec; +import std.Int; +import std.Vec; fn fannkuch(int n) -> int { @@ -12,9 +12,9 @@ fn fannkuch(int n) -> int { } auto perm1init_ = perm1init; // Rustboot workaround - auto perm = _vec.init_elt[mutable int](0, n as uint); - auto perm1 = _vec.init_fn[mutable int](perm1init_, n as uint); - auto count = _vec.init_elt[mutable int](0, n as uint); + auto perm = Vec.init_elt[mutable int](0, n as uint); + auto perm1 = Vec.init_fn[mutable int](perm1init_, n as uint); + auto count = Vec.init_elt[mutable int](0, n as uint); auto f = 0; auto i = 0; |