links the timeout docs to each other

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
staging
Yoshua Wuyts 5 years ago
parent 8fe7347771
commit d68d6bb052
No known key found for this signature in database
GPG Key ID: 24EA8164F96777ED

@ -10,6 +10,9 @@ use crate::task::{Context, Poll};
/// Awaits a future or times out after a duration of time.
///
/// If you want to await an I/O future consider using
/// [`io::timeout`](../io/fn.timeout.html) instead.
///
/// # Examples
///
/// ```

@ -7,6 +7,9 @@ use crate::io;
/// Awaits an I/O future or times out after a duration of time.
///
/// If you want to await a non I/O future consider using
/// [`future::timeout`](../future/fn.timeout.html) instead.
///
/// # Examples
///
/// ```no_run

Loading…
Cancel
Save