diff options
author | xliiv <tymoteusz.jankowski@gmail.com> | 2020-04-13 17:25:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 17:25:28 +0200 |
commit | 9553355c2709235686030bb1a299dc83a053347c (patch) | |
tree | 4521279ffd7d2eeb8c6f0eab8c84f1e9fd51bd4b /tokio/src/task | |
parent | 770d0ec452220d403bb1bb6809ff11cd68a258bd (diff) |
doc: fix a few broken links (#2400)
Diffstat (limited to 'tokio/src/task')
-rw-r--r-- | tokio/src/task/local.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tokio/src/task/local.rs b/tokio/src/task/local.rs index fce46707..edecb04b 100644 --- a/tokio/src/task/local.rs +++ b/tokio/src/task/local.rs @@ -107,7 +107,7 @@ cfg_rt_util! { /// /// [`Send`]: https://doc.rust-lang.org/std/marker/trait.Send.html /// [local task set]: struct@LocalSet - /// [`Runtime::block_on`]: ../struct.Runtime.html#method.block_on + /// [`Runtime::block_on`]: method@crate::runtime::Runtime::block_on /// [`task::spawn_local`]: fn@spawn_local pub struct LocalSet { /// Current scheduler tick @@ -341,9 +341,9 @@ impl LocalSet { /// ``` /// /// [`spawn_local`]: fn@spawn_local - /// [`Runtime::block_on`]: ../struct.Runtime.html#method.block_on - /// [in-place blocking]: ../blocking/fn.in_place.html - /// [`spawn_blocking`]: ../blocking/fn.spawn_blocking.html + /// [`Runtime::block_on`]: method@crate::runtime::Runtime::block_on + /// [in-place blocking]: fn@crate::task::block_in_place + /// [`spawn_blocking`]: fn@crate::task::spawn_blocking pub fn block_on<F>(&self, rt: &mut crate::runtime::Runtime, future: F) -> F::Output where F: Future, |