Changing method signature

split-by-pattern
Miguel Pérez García 5 years ago
parent 54fa559554
commit c14c377974

@ -363,7 +363,7 @@ extension_trait! {
"#]
#[cfg(any(feature = "unstable", feature = "docs"))]
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
fn timeout<F, T>(self, dur: Duration) -> impl Future<Output = Self::Output> [TimeoutFuture<Self>]
fn timeout(self, dur: Duration) -> impl Future<Output = Self::Output> [TimeoutFuture<Self>]
where Self: Sized
{
TimeoutFuture::new(self, dur)

Loading…
Cancel
Save