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:
parent
9d55fff81d
commit
53fa132d13
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ extension_trait! {
|
||||||
/// ```
|
/// ```
|
||||||
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
|
||||||
#[cfg(any(feature = "unstable", feature = "docs"))]
|
#[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
|
where
|
||||||
Self: Future + Sized
|
Self: Future + Sized
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue