about summary refs log tree commit diff
path: root/src/test/bench/shootout-pfib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/bench/shootout-pfib.rs')
-rw-r--r--src/test/bench/shootout-pfib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/bench/shootout-pfib.rs b/src/test/bench/shootout-pfib.rs
index 6ea22715750..9344bb63205 100644
--- a/src/test/bench/shootout-pfib.rs
+++ b/src/test/bench/shootout-pfib.rs
@@ -89,7 +89,7 @@ fn stress(num_tasks: int) {
             stress_task(i);
         }
     }
-    for results.iter().advance |r| {
+    foreach r in results.iter() {
         r.recv();
     }
 }