about summary refs log tree commit diff
path: root/src/libcore/future
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>2019-04-19 19:25:40 -0700
committerJim Blandy <jimb@red-bean.com>2019-04-19 19:25:40 -0700
commitf8f02debbb9a163420c86689b13cf144207381aa (patch)
tree027355a03950b156006fc4d6528d8c3d441a1f07 /src/libcore/future
parentd0b84e9a8bae8a8b68e1da88c08f06b4b56b5c0f (diff)
core::future::Future: Fix markup typo in docs.
Diffstat (limited to 'src/libcore/future')
-rw-r--r--src/libcore/future/future.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/future/future.rs b/src/libcore/future/future.rs
index 9d7152df32d..e1ab67873a0 100644
--- a/src/libcore/future/future.rs
+++ b/src/libcore/future/future.rs
@@ -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.
     ///