Skip to content

Commit 53fa132

Browse files
committed
fix type Declaration
1 parent 9d55fff commit 53fa132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/future/future.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ extension_trait! {
130130
/// ```
131131
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
132132
#[cfg(any(feature = "unstable", feature = "docs"))]
133-
fn delay(self, dur: Duration) -> DelayFuture<Self>
133+
fn delay(self, dur: Duration) -> impl Future<Output = Self::Output> [DelayFuture<Self>]
134134
where
135135
Self: Future + Sized
136136
{

0 commit comments

Comments
 (0)