diff options
Diffstat (limited to 'src/libstd/rt/task.rs')
| -rw-r--r-- | src/libstd/rt/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index 95d60c11df6..3b8eb87f8af 100644 --- a/src/libstd/rt/task.rs +++ b/src/libstd/rt/task.rs @@ -370,7 +370,7 @@ impl Coroutine { // Again - might work while safe, or it might not. do Local::borrow::<Scheduler,()> |sched| { - (sched).run_cleanup_job(); + sched.run_cleanup_job(); } // To call the run method on a task we need a direct |
