summaryrefslogtreecommitdiffstats
path: root/tokio/src/future
diff options
context:
space:
mode:
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)]