Skip to content

Commit c14c377

Browse files
committed
Changing method signature
1 parent 54fa559 commit c14c377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/future/future/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ extension_trait! {
363363
"#]
364364
#[cfg(any(feature = "unstable", feature = "docs"))]
365365
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
366-
fn timeout<F, T>(self, dur: Duration) -> impl Future<Output = Self::Output> [TimeoutFuture<Self>]
366+
fn timeout(self, dur: Duration) -> impl Future<Output = Self::Output> [TimeoutFuture<Self>]
367367
where Self: Sized
368368
{
369369
TimeoutFuture::new(self, dur)

0 commit comments

Comments
 (0)