forked from mirror/async-std
Update src/future/timeout.rs
Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
This commit is contained in:
parent
9a07196402
commit
6b76fb1308
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ impl<F: Future> Future for TimeoutFuture<F> {
|
|||
|
||||
/// An error returned when a future times out.
|
||||
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||
#[cfg(feature = "unstable")]
|
||||
#[cfg(any(feature = "unstable", feature = "docs"))]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub struct TimeoutError {
|
||||
_private: (),
|
||||
|
|
Loading…
Reference in a new issue