aboutsummaryrefslogtreecommitdiff
path: root/src/task/unconstrained.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/task/unconstrained.rs')
-rw-r--r--src/task/unconstrained.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task/unconstrained.rs b/src/task/unconstrained.rs
index 31c732b..40384c8 100644
--- a/src/task/unconstrained.rs
+++ b/src/task/unconstrained.rs
@@ -22,7 +22,7 @@ where
cfg_coop! {
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
let inner = self.project().inner;
- crate::coop::with_unconstrained(|| inner.poll(cx))
+ crate::runtime::coop::with_unconstrained(|| inner.poll(cx))
}
}