summaryrefslogtreecommitdiffstats
path: root/tokio/src/task
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/task')
-rw-r--r--tokio/src/task/blocking.rs2
-rw-r--r--tokio/src/task/local.rs2
-rw-r--r--tokio/src/task/task_local.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/tokio/src/task/blocking.rs b/tokio/src/task/blocking.rs
index 0ef60535..4dab333e 100644
--- a/tokio/src/task/blocking.rs
+++ b/tokio/src/task/blocking.rs
@@ -29,7 +29,7 @@ cfg_rt_threaded! {
/// [blocking]: ../index.html#cpu-bound-tasks-and-blocking-code
/// [threaded scheduler]: fn@crate::runtime::Builder::threaded_scheduler
/// [`spawn_blocking`]: fn@crate::task::spawn_blocking
- /// [`join!`]: ../macro.join.html
+ /// [`join!`]: macro@join
/// [`thread::spawn`]: fn@std::thread::spawn
/// [`shutdown_timeout`]: fn@crate::runtime::Runtime::shutdown_timeout
///
diff --git a/tokio/src/task/local.rs b/tokio/src/task/local.rs
index 374671fb..2a3a7e1e 100644
--- a/tokio/src/task/local.rs
+++ b/tokio/src/task/local.rs
@@ -105,7 +105,7 @@ cfg_rt_util! {
/// }
/// ```
///
- /// [`Send`]: https://doc.rust-lang.org/std/marker/trait.Send.html
+ /// [`Send`]: trait@std::marker::Send
/// [local task set]: struct@LocalSet
/// [`Runtime::block_on`]: method@crate::runtime::Runtime::block_on
/// [`task::spawn_local`]: fn@spawn_local
diff --git a/tokio/src/task/task_local.rs b/tokio/src/task/task_local.rs
index cbff272b..1679ee3b 100644
--- a/tokio/src/task/task_local.rs
+++ b/tokio/src/task/task_local.rs
@@ -89,7 +89,7 @@ macro_rules! __task_local_inner {
/// }).await;
/// # }
/// ```
-/// [`std::thread::LocalKey`]: https://doc.rust-lang.org/std/thread/struct.LocalKey.html
+/// [`std::thread::LocalKey`]: struct@std::thread::LocalKey
pub struct LocalKey<T: 'static> {
#[doc(hidden)]
pub inner: thread::LocalKey<RefCell<Option<T>>>,