Update src/future/timeout.rs

Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
This commit is contained in:
Yoshua Wuyts 2019-09-18 12:43:27 +02:00 committed by GitHub
parent 9a07196402
commit 6b76fb1308
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: (),