diff --git a/library/alloc/src/task.rs b/library/alloc/src/task.rs index 1409c2d4d3456..b214f4946b1b5 100644 --- a/library/alloc/src/task.rs +++ b/library/alloc/src/task.rs @@ -29,12 +29,13 @@ use core::task::Waker; /// exists as an alternative for those systems. /// /// To construct a [`Waker`] from some type `W` implementing this trait, -/// wrap it in an [`Arc`](Arc) and call [`Waker::from()`][wi]. +/// wrap it in an [`Arc`](Arc) and call `Waker::from()` on that. /// It is also possible to convert to [`RawWaker`] in the same way. /// -/// -/// [wi]: ../../std/task/struct.Waker.html#impl-From%3CArc%3CW,+Global%3E%3E-for-Waker +/// /// /// # Examples ///