mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
time: fix a typo in timeout docs (#5538)
Replace instances of "immediatelly" with "immediately".
This commit is contained in:
@@ -28,8 +28,8 @@ use std::task::{self, Poll};
|
|||||||
/// This function returns a future whose return type is [`Result`]`<T,`[`Elapsed`]`>`, where `T` is the
|
/// This function returns a future whose return type is [`Result`]`<T,`[`Elapsed`]`>`, where `T` is the
|
||||||
/// return type of the provided future.
|
/// return type of the provided future.
|
||||||
///
|
///
|
||||||
/// If the provided future completes immediatelly, then the future returned from
|
/// If the provided future completes immediately, then the future returned from
|
||||||
/// this function is guaranteed to complete immediatelly with an [`Ok`] variant
|
/// this function is guaranteed to complete immediately with an [`Ok`] variant
|
||||||
/// no matter the provided duration.
|
/// no matter the provided duration.
|
||||||
///
|
///
|
||||||
/// [`Ok`]: std::result::Result::Ok
|
/// [`Ok`]: std::result::Result::Ok
|
||||||
@@ -105,8 +105,8 @@ where
|
|||||||
/// This function returns a future whose return type is [`Result`]`<T,`[`Elapsed`]`>`, where `T` is the
|
/// This function returns a future whose return type is [`Result`]`<T,`[`Elapsed`]`>`, where `T` is the
|
||||||
/// return type of the provided future.
|
/// return type of the provided future.
|
||||||
///
|
///
|
||||||
/// If the provided future completes immediatelly, then the future returned from
|
/// If the provided future completes immediately, then the future returned from
|
||||||
/// this function is guaranteed to complete immediatelly with an [`Ok`] variant
|
/// this function is guaranteed to complete immediately with an [`Ok`] variant
|
||||||
/// no matter the provided deadline.
|
/// no matter the provided deadline.
|
||||||
///
|
///
|
||||||
/// [`Ok`]: std::result::Result::Ok
|
/// [`Ok`]: std::result::Result::Ok
|
||||||
|
|||||||
Reference in New Issue
Block a user