Skip to content

Commit

Permalink
Remove the link.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Feb 11, 2024
1 parent cef46f9 commit a6c91f0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions library/alloc/src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<W>`](Arc) and call [`Waker::from()`][wi].
/// wrap it in an [`Arc<W>`](Arc) and call `Waker::from()` on that.
/// It is also possible to convert to [`RawWaker`] in the same way.
///
/// <!-- This impl is reachable from `alloc` but rustdoc only lists it in `std`
/// because `alloc` doesn't reexport `Waker` -->
/// [wi]: ../../std/task/struct.Waker.html#impl-From%3CArc%3CW,+Global%3E%3E-for-Waker
/// <!-- Ideally we'd link to the `From` impl, but rustdoc doesn't generate any page for it within
/// `alloc` because `alloc` neither defines nor re-exports `From` or `Waker`, and we can't
/// link ../../std/task/struct.Waker.html#impl-From%3CArc%3CW,+Global%3E%3E-for-Waker
/// without getting a link-checking error in CI. -->
///
/// # Examples
///
Expand Down

0 comments on commit a6c91f0

Please sign in to comment.