diff options
author | xliiv <tymoteusz.jankowski@gmail.com> | 2020-05-31 18:49:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-31 18:49:04 +0200 |
commit | e70a1b6d64ac2b3943d674d8f3b0b362fdc668b9 (patch) | |
tree | a3627e14fe849e03522815ecb6f8b8960b1b1ed2 /tokio/src/task | |
parent | 9264b837d897dcdf974703a6739132b995e669bc (diff) |
docs: use intra-links in the docs (#2575)
Diffstat (limited to 'tokio/src/task')
-rw-r--r-- | tokio/src/task/blocking.rs | 2 | ||||
-rw-r--r-- | tokio/src/task/local.rs | 2 | ||||
-rw-r--r-- | tokio/src/task/task_local.rs | 2 |
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>>>, |