2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-31 01:35:33 +00:00

fix type Declaration

This commit is contained in:
k-nasa 2019-10-16 22:45:18 +09:00
parent 9d55fff81d
commit 53fa132d13

View file

@ -130,7 +130,7 @@ extension_trait! {
/// ```
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[cfg(any(feature = "unstable", feature = "docs"))]
fn delay(self, dur: Duration) -> DelayFuture<Self>
fn delay(self, dur: Duration) -> impl Future<Output = Self::Output> [DelayFuture<Self>]
where
Self: Future + Sized
{