about summary refs log tree commit diff
path: root/src/test/run-pass/hashmap-memory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/hashmap-memory.rs')
-rw-r--r--src/test/run-pass/hashmap-memory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/hashmap-memory.rs b/src/test/run-pass/hashmap-memory.rs
index 1716f882dd8..682ab844a47 100644
--- a/src/test/run-pass/hashmap-memory.rs
+++ b/src/test/run-pass/hashmap-memory.rs
@@ -34,7 +34,7 @@ mod map_reduce {
         for i in inputs.iter() {
             let ctrl = ctrl.clone();
             let i = i.clone();
-            task::spawn(|| map_task(ctrl.clone(), i.clone()) );
+            task::spawn(proc() map_task(ctrl.clone(), i.clone()) );
         }
     }