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