Skip to content

Commit 147ee6d

Browse files
committed
cargo fmt
Signed-off-by: Yoshua Wuyts <[email protected]>
1 parent 4e31bb3 commit 147ee6d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: src/io/timeout.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
use std::time::Duration;
2-
use std::task::{Context, Poll};
31
use std::pin::Pin;
2+
use std::task::{Context, Poll};
3+
use std::time::Duration;
44

55
use futures_timer::Delay;
66
use pin_utils::unsafe_pinned;
@@ -39,7 +39,8 @@ where
3939
Timeout {
4040
timeout: Delay::new(dur),
4141
future: f,
42-
}.await
42+
}
43+
.await
4344
}
4445

4546
/// Future returned by the `FutureExt::timeout` method.

0 commit comments

Comments
 (0)