Skip to content

Commit a6c91f0

Browse files
committed
Remove the link.
1 parent cef46f9 commit a6c91f0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

library/alloc/src/task.rs

+5-4
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ use core::task::Waker;
2929
/// exists as an alternative for those systems.
3030
///
3131
/// To construct a [`Waker`] from some type `W` implementing this trait,
32-
/// wrap it in an [`Arc<W>`](Arc) and call [`Waker::from()`][wi].
32+
/// wrap it in an [`Arc<W>`](Arc) and call `Waker::from()` on that.
3333
/// It is also possible to convert to [`RawWaker`] in the same way.
3434
///
35-
/// <!-- This impl is reachable from `alloc` but rustdoc only lists it in `std`
36-
/// because `alloc` doesn't reexport `Waker` -->
37-
/// [wi]: ../../std/task/struct.Waker.html#impl-From%3CArc%3CW,+Global%3E%3E-for-Waker
35+
/// <!-- Ideally we'd link to the `From` impl, but rustdoc doesn't generate any page for it within
36+
/// `alloc` because `alloc` neither defines nor re-exports `From` or `Waker`, and we can't
37+
/// link ../../std/task/struct.Waker.html#impl-From%3CArc%3CW,+Global%3E%3E-for-Waker
38+
/// without getting a link-checking error in CI. -->
3839
///
3940
/// # Examples
4041
///

0 commit comments

Comments
 (0)