1
Fork 0

Move to intra-doc links for task.rs and vec.rs

This commit is contained in:
Surya Midatala 2020-08-16 19:43:42 +05:30
parent 2c3dc04ea4
commit 11f69796ee
2 changed files with 19 additions and 36 deletions

View file

@ -13,11 +13,9 @@ use crate::sync::Arc;
///
/// This trait is a memory-safe and ergonomic alternative to constructing a
/// [`RawWaker`]. It supports the common executor design in which the data used
/// to wake up a task is stored in an [`Arc`][arc]. Some executors (especially
/// to wake up a task is stored in an [`Arc`]. Some executors (especially
/// those for embedded systems) cannot use this API, which is why [`RawWaker`]
/// exists as an alternative for those systems.
///
/// [arc]: ../../std/sync/struct.Arc.html
#[unstable(feature = "wake_trait", issue = "69912")]
pub trait Wake {
/// Wake this task.