diff options
Diffstat (limited to 'tokio/src/future/ready.rs')
-rw-r--r-- | tokio/src/future/ready.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/future/ready.rs b/tokio/src/future/ready.rs index ba5d4804..d74f999e 100644 --- a/tokio/src/future/ready.rs +++ b/tokio/src/future/ready.rs @@ -21,7 +21,7 @@ impl<T> Future for Ready<T> { } } -/// Create a future that is immediately ready with a success value. +/// Creates a future that is immediately ready with a success value. pub(crate) fn ok<T, E>(t: T) -> Ready<Result<T, E>> { Ready(Some(Ok(t))) } |