Skip to content

Commit 3d17993

Browse files
committed
Fix link in task::Wake docs
1 parent 0f72ce1 commit 3d17993

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/liballoc/task.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ use crate::sync::Arc;
1212
/// to the tasks that are executed on that executor.
1313
///
1414
/// This trait is a memory-safe and ergonomic alternative to constructing a
15-
/// [`RawWaker`]. It supports the common executor design in which the data
16-
/// used to wake up a task is stored in an [`Arc`]. Some executors (especially
15+
/// [`RawWaker`]. It supports the common executor design in which the data used
16+
/// to wake up a task is stored in an [`Arc`][arc]. Some executors (especially
1717
/// those for embedded systems) cannot use this API, which is why [`RawWaker`]
1818
/// exists as an alternative for those systems.
19+
///
20+
/// [arc]: ../../std/sync/struct.Arc.html
1921
#[unstable(feature = "wake_trait", issue = "69912")]
2022
pub trait Wake {
2123
/// Wake this task.

0 commit comments

Comments
 (0)