about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.
     ///