We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a07196 commit 6b76fb1Copy full SHA for 6b76fb1
src/future/timeout.rs
@@ -70,7 +70,7 @@ impl<F: Future> Future for TimeoutFuture<F> {
70
71
/// An error returned when a future times out.
72
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
73
-#[cfg(feature = "unstable")]
+#[cfg(any(feature = "unstable", feature = "docs"))]
74
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
75
pub struct TimeoutError {
76
_private: (),
0 commit comments