summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/runtime')
-rw-r--r--tokio/src/runtime/context.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/runtime/context.rs b/tokio/src/runtime/context.rs
index 4af2df23..1b267f48 100644
--- a/tokio/src/runtime/context.rs
+++ b/tokio/src/runtime/context.rs
@@ -47,9 +47,9 @@ cfg_rt_core! {
}
}
-/// Set this [`ThreadContext`] as the current active [`ThreadContext`].
+/// Set this [`Handle`] as the current active [`Handle`].
///
-/// [`ThreadContext`]: struct@ThreadContext
+/// [`Handle`]: Handle
pub(crate) fn enter<F, R>(new: Handle, f: F) -> R
where
F: FnOnce() -> R,