about summary refs log tree commit diff
path: root/src/libcore/task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/task.rs')
-rw-r--r--src/libcore/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/task.rs b/src/libcore/task.rs
index adeebcf344e..070da8ffd4a 100644
--- a/src/libcore/task.rs
+++ b/src/libcore/task.rs
@@ -888,7 +888,7 @@ fn taskset_remove(tasks: &mut TaskSet, task: *rust_task) {
     assert was_present;
 }
 fn taskset_each(tasks: &TaskSet, blk: fn(+*rust_task) -> bool) {
-    tasks.each_key(blk)
+    tasks.each_key(|k| blk(*k))
 }
 
 // One of these per group of linked-failure tasks.