Seems like we don't have to refer the file anymore.
This commit is contained in:
parent
f8550a499f
commit
a70ef6a20b
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue