aboutsummaryrefslogtreecommitdiff
path: root/src/test/bench/shootout/fannkuchredux.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-05-12 17:24:54 +0200
committerMarijn Haverbeke <[email protected]>2011-05-12 21:30:44 +0200
commit3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2 (patch)
tree508982ed2f789aedd89eebd529343d9dc88b8e01 /src/test/bench/shootout/fannkuchredux.rs
parentTransitional change to make extfmt output lowercase module name (diff)
downloadrust-3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2.tar.xz
rust-3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2.zip
Downcase std modules again, move to :: for module dereferencing
This should be a snapshot transition.
Diffstat (limited to 'src/test/bench/shootout/fannkuchredux.rs')
-rw-r--r--src/test/bench/shootout/fannkuchredux.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/bench/shootout/fannkuchredux.rs b/src/test/bench/shootout/fannkuchredux.rs
index 5af56a47..0d24d338 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(0, n as uint);
- auto perm1 = Vec.init_fn(perm1init_, n as uint);
- auto count = Vec.init_elt(0, n as uint);
+ auto perm = _vec::init_elt(0, n as uint);
+ auto perm1 = _vec::init_fn(perm1init_, n as uint);
+ auto count = _vec::init_elt(0, n as uint);
auto f = 0;
auto i = 0;