summaryrefslogtreecommitdiffstats
path: root/tokio/src/future
diff options
context:
space:
mode:
authorMikail Bagishov <bagishov.mikail@yandex.ru>2020-07-21 00:50:59 +0300
committerGitHub <noreply@github.com>2020-07-20 14:50:59 -0700
commit28a93e604454d435476eb8bb2eee809fd86b001d (patch)
treee55e4799960ab2687a27753765855b5fe4ac9eff /tokio/src/future
parentdd28831e1301f09b992dabf5f9e47656ee6d981c (diff)
Update doc comments (#2572)
* Update doc comments * Remove trailing whitespace
Diffstat (limited to 'tokio/src/future')
-rw-r--r--tokio/src/future/ready.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/future/ready.rs b/tokio/src/future/ready.rs
index d74f999e..de2d60c1 100644
--- a/tokio/src/future/ready.rs
+++ b/tokio/src/future/ready.rs
@@ -2,7 +2,7 @@ use std::future::Future;
use std::pin::Pin;
use std::task::{Context, Poll};
-/// Future for the [`ready`](ready()) function.
+/// Future for the [`ok`](ok()) function.
///
/// `pub` in order to use the future as an associated type in a sealed trait.
#[derive(Debug)]