aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/blocking/task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/blocking/task.rs')
-rw-r--r--src/runtime/blocking/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/blocking/task.rs b/src/runtime/blocking/task.rs
index 0b7803a..c446175 100644
--- a/src/runtime/blocking/task.rs
+++ b/src/runtime/blocking/task.rs
@@ -37,7 +37,7 @@ where
// currently goes through Task::poll(), and so is subject to budgeting. That isn't really
// what we want; a blocking task may itself want to run tasks (it might be a Worker!), so
// we want it to start without any budgeting.
- crate::coop::stop();
+ crate::runtime::coop::stop();
Poll::Ready(func())
}