From d39ca857fc7d51df6a00db701739966c3af9cb59 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Fri, 6 May 2011 22:50:53 +0200 Subject: Remove a few more superfluous 'mutable' keywords --- src/test/bench/shootout/fannkuchredux.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/test/bench/shootout/fannkuchredux.rs b/src/test/bench/shootout/fannkuchredux.rs index ad3d7dd2..5af56a47 100644 --- a/src/test/bench/shootout/fannkuchredux.rs +++ b/src/test/bench/shootout/fannkuchredux.rs @@ -7,14 +7,14 @@ import std.Vec; fn fannkuch(int n) -> int { - fn perm1init(uint i) -> mutable int { + fn perm1init(uint i) -> int { ret i as 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(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; -- cgit v1.2.3