Update src/future/timeout.rs

Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
pull/209/head
Yoshua Wuyts 5 years ago committed by GitHub
parent 9a07196402
commit 6b76fb1308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save