From eb536e141052f17750b7be9b67611ecd85fa0c18 Mon Sep 17 00:00:00 2001 From: Naja Melan Date: Wed, 1 May 2019 16:08:33 +0200 Subject: [PATCH] This is problematic, cross crate references don't work and there is no clear solution... when the build on docs.rs passes again, we could decide to link to docs.rs, until then I have no solution. --- futures-util/src/task/noop_waker.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/futures-util/src/task/noop_waker.rs b/futures-util/src/task/noop_waker.rs index 971062b9f1..b77875a7bf 100644 --- a/futures-util/src/task/noop_waker.rs +++ b/futures-util/src/task/noop_waker.rs @@ -17,8 +17,8 @@ fn noop_raw_waker() -> RawWaker { } /// Create a new [`Waker`](futures_core::task::Waker) which does -/// nothing when `wake()` is called on it. The [`Waker`] can be converted -/// into a [`Waker`] which will behave the same way. +/// nothing when `wake()` is called on it. The [`Waker`](futures_core::task::Waker) can be converted +/// into a [`Waker`](futures_core::task::Waker) which will behave the same way. /// /// # Examples /// @@ -36,7 +36,7 @@ pub fn noop_waker() -> Waker { /// Get a thread local reference to a /// [`Waker`](futures_core::task::Waker) referencing a singleton -/// instance of a [`Waker`] which panics when woken. +/// instance of a [`Waker`](futures_core::task::Waker) which panics when woken. /// /// # Examples ///