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 9d55fff commit 53fa132Copy full SHA for 53fa132
src/future/future.rs
@@ -130,7 +130,7 @@ extension_trait! {
130
/// ```
131
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
132
#[cfg(any(feature = "unstable", feature = "docs"))]
133
- fn delay(self, dur: Duration) -> DelayFuture<Self>
+ fn delay(self, dur: Duration) -> impl Future<Output = Self::Output> [DelayFuture<Self>]
134
where
135
Self: Future + Sized
136
{
0 commit comments