diff options
Diffstat (limited to 'src/test/bench/shootout/fannkuchredux.rs')
| -rw-r--r-- | src/test/bench/shootout/fannkuchredux.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/bench/shootout/fannkuchredux.rs b/src/test/bench/shootout/fannkuchredux.rs index 65f6bdb2..57a7d426 100644 --- a/src/test/bench/shootout/fannkuchredux.rs +++ b/src/test/bench/shootout/fannkuchredux.rs @@ -6,7 +6,7 @@ use std; import std._int; import std._vec; -impure fn fannkuch(int n) -> int { +fn fannkuch(int n) -> int { fn perm1init(uint i) -> mutable int { ret i as int; @@ -94,7 +94,7 @@ impure fn fannkuch(int n) -> int { ret flips; } -impure fn main(vec[str] args) { +fn main(vec[str] args) { auto n = 7; log #fmt("Pfannkuchen(%d) = %d", n, fannkuch(n)); }
\ No newline at end of file |