1
Fork 0

Seems like we don't have to refer the file anymore.

This commit is contained in:
Son 2018-10-17 08:03:12 +11:00
parent f8550a499f
commit a70ef6a20b

View file

@ -188,13 +188,10 @@ impl LocalWaker {
}
impl From<LocalWaker> for Waker {
/// Converts a [`LocalWaker`] into a [`Waker`].
/// Converts a `LocalWaker` into a `Waker`.
///
/// This conversion forgets local waker and allocates a new waker with
/// the same inner.
///
/// [`LocalWaker`]: struct.LocalWaker.html
/// [`Waker`]: struct.Waker.html
#[inline]
fn from(local_waker: LocalWaker) -> Self {
local_waker.0