Skip to content

Commit 8aaede3

Browse files
authored
refactor(rt): replace futures_util::Future with std::future::Future (#3341)
1 parent ad1b016 commit 8aaede3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benches/support/tokiort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#![allow(dead_code)]
22
//! Various runtimes for hyper
33
use std::{
4+
future::Future,
45
pin::Pin,
56
task::{Context, Poll},
67
time::{Duration, Instant},
78
};
89

9-
use futures_util::Future;
1010
use hyper::rt::{Sleep, Timer};
1111
use pin_project_lite::pin_project;
1212

src/rt/timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
//! Example using tokio timer:
44
//! ```rust
55
//! use std::{
6+
//! future::Future,
67
//! pin::Pin,
78
//! task::{Context, Poll},
89
//! time::{Duration, Instant},
910
//! };
1011
//!
11-
//! use futures_util::Future;
1212
//! use pin_project_lite::pin_project;
1313
//! use hyper::rt::{Timer, Sleep};
1414
//!

0 commit comments

Comments
 (0)