diff --git a/src/libcore/task/wake.rs b/src/libcore/task/wake.rs index c2768e70aec7b43de25d5f69cc425aab2bb0064f..c9fb22e0080dd1c2efc2531e8fcdfaed53336e19 100644 --- a/src/libcore/task/wake.rs +++ b/src/libcore/task/wake.rs @@ -190,8 +190,9 @@ pub fn will_wake_nonlocal(&self, other: &Waker) -> bool { impl From for Waker { /// Converts a `LocalWaker` into a `Waker`. /// - /// This conversion forgets local waker and allocates a new waker with - /// the same inner. + /// This conversion turns a `!Sync` `LocalWaker` into a `Sync` `Waker`, allowing a wakeup + /// object to be sent to another thread, but giving up its ability to do specialized + /// thread-local wakeup behavior. #[inline] fn from(local_waker: LocalWaker) -> Self { local_waker.0