diff options
Diffstat (limited to 'src/test/bench')
| -rw-r--r-- | src/test/bench/shootout/fannkuchredux.rs | 4 | ||||
| -rw-r--r-- | src/test/bench/shootout/nbody.rs | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/src/test/bench/shootout/nbody.rs b/src/test/bench/shootout/nbody.rs index f6f14f97..f2041c0e 100644 --- a/src/test/bench/shootout/nbody.rs +++ b/src/test/bench/shootout/nbody.rs @@ -218,7 +218,7 @@ mod Body { ); } - impure fn offsetMomentum(&Body.props props, + fn offsetMomentum(&Body.props props, float px, float py, float pz) -> () { |