From f8f02debbb9a163420c86689b13cf144207381aa Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 19 Apr 2019 19:25:40 -0700 Subject: [PATCH] core::future::Future: Fix markup typo in docs. --- src/libcore/future/future.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. /// -- 2.44.0