Skip to content

Commit 6b76fb1

Browse files
yoshuawuytsStjepan Glavina
and
Stjepan Glavina
authored
Update src/future/timeout.rs
Co-Authored-By: Stjepan Glavina <[email protected]>
1 parent 9a07196 commit 6b76fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/future/timeout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ impl<F: Future> Future for TimeoutFuture<F> {
7070

7171
/// An error returned when a future times out.
7272
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
73-
#[cfg(feature = "unstable")]
73+
#[cfg(any(feature = "unstable", feature = "docs"))]
7474
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
7575
pub struct TimeoutError {
7676
_private: (),

0 commit comments

Comments
 (0)