File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,13 @@ use core::task::Waker;
29
29
/// exists as an alternative for those systems.
30
30
///
31
31
/// 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 .
33
33
/// It is also possible to convert to [`RawWaker`] in the same way.
34
34
///
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. -->
38
39
///
39
40
/// # Examples
40
41
///
You can’t perform that action at this time.
0 commit comments