diff options
Diffstat (limited to 'src/test/bench/shootout-threadring.rs')
| -rw-r--r-- | src/test/bench/shootout-threadring.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/shootout-threadring.rs b/src/test/bench/shootout-threadring.rs index 73ce1f22be7..580a4063748 100644 --- a/src/test/bench/shootout-threadring.rs +++ b/src/test/bench/shootout-threadring.rs @@ -8,7 +8,7 @@ fn start(+token: int) { let p = comm::port(); let mut ch = comm::chan(p); - int::range(2, n_threads + 1) { |i| + for int::range(2, n_threads + 1) { |i| let id = n_threads + 2 - i; let to_child = task::spawn_listener::<int> {|p, copy ch| roundtrip(id, p, ch) |
