summaryrefslogtreecommitdiffstats
path: root/tokio/src/task/spawn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/task/spawn.rs')
-rw-r--r--tokio/src/task/spawn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/task/spawn.rs b/tokio/src/task/spawn.rs
index d6e77118..280e90ea 100644
--- a/tokio/src/task/spawn.rs
+++ b/tokio/src/task/spawn.rs
@@ -18,7 +18,7 @@ doc_rt_core! {
///
/// This function must be called from the context of a Tokio runtime. Tasks running on
/// the Tokio runtime are always inside its context, but you can also enter the context
- /// using the [`Handle::enter`](crate::runtime::Handle::enter()) method.
+ /// using the [`Runtime::enter`](crate::runtime::Runtime::enter()) method.
///
/// # Examples
///