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 ///