mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
core::future::Future: Fix markup typo in docs.
This commit is contained in:
parent
d0b84e9a8b
commit
f8f02debbb
@ -49,7 +49,7 @@ pub trait Future {
|
||||
/// For example, a future waiting for a socket to become
|
||||
/// readable would call `.clone()` on the [`Waker`] and store it.
|
||||
/// When a signal arrives elsewhere indicating that the socket is readable,
|
||||
/// `[Waker::wake]` is called and the socket future's task is awoken.
|
||||
/// [`Waker::wake`] is called and the socket future's task is awoken.
|
||||
/// Once a task has been woken up, it should attempt to `poll` the future
|
||||
/// again, which may or may not produce a final value.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user