File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
trunk/src/test/bench/shootout Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: a3ec0b1f643d00b9418e4884bd7caa07bf052201
2
+ refs/heads/master: d39ca857fc7d51df6a00db701739966c3af9cb59
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ import std.Vec;
7
7
8
8
fn fannkuch ( int n) -> int {
9
9
10
- fn perm1init ( uint i) -> mutable int {
10
+ fn perm1init ( uint i) -> int {
11
11
ret i as int ;
12
12
}
13
13
auto perm1init_ = perm1init; // Rustboot workaround
14
14
15
- auto perm = Vec . init_elt [ mutable int ] ( 0 , n as uint ) ;
16
- auto perm1 = Vec . init_fn [ mutable int ] ( perm1init_, n as uint ) ;
17
- auto count = Vec . init_elt [ mutable int ] ( 0 , n as uint ) ;
15
+ auto perm = Vec . init_elt ( 0 , n as uint ) ;
16
+ auto perm1 = Vec . init_fn ( perm1init_, n as uint ) ;
17
+ auto count = Vec . init_elt ( 0 , n as uint ) ;
18
18
19
19
auto f = 0 ;
20
20
auto i = 0 ;
You can’t perform that action at this time.
0 commit comments