summaryrefslogtreecommitdiffstats
path: root/tokio/src/task/task_local.rs
diff options
context:
space:
mode:
authorxliiv <tymoteusz.jankowski@gmail.com>2020-04-12 19:25:55 +0200
committerGitHub <noreply@github.com>2020-04-12 10:25:55 -0700
commitf39c15334e74b07a44efaa0f7201262e17e4f062 (patch)
treec13b2949b0a82d4443d83b724d7f99bae13a035e /tokio/src/task/task_local.rs
parent060d22bd10ac66d91b70522138816c9bd05d5ead (diff)
docs: replace some html links with rustdoc paths (#2381)
Included changes - all simple references like `<type>.<name>.html` for these types - enum - fn - struct - trait - type - simple references for methods, like struct.DelayQueue.html#method.poll Refs: #1473
Diffstat (limited to 'tokio/src/task/task_local.rs')
-rw-r--r--tokio/src/task/task_local.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/task/task_local.rs b/tokio/src/task/task_local.rs
index a3e7f03f..f3341b6a 100644
--- a/tokio/src/task/task_local.rs
+++ b/tokio/src/task/task_local.rs
@@ -219,7 +219,7 @@ impl<T: 'static, F: Future> Future for TaskLocalFuture<T, F> {
trait StaticLifetime: 'static {}
impl<T: 'static> StaticLifetime for T {}
-/// An error returned by [`LocalKey::try_with`](struct.LocalKey.html#method.try_with).
+/// An error returned by [`LocalKey::try_with`](method@LocalKey::try_with).
#[derive(Clone, Copy, Eq, PartialEq)]
pub struct AccessError {
_private: (),