We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad1b016 commit 8aaede3Copy full SHA for 8aaede3
benches/support/tokiort.rs
@@ -1,12 +1,12 @@
1
#![allow(dead_code)]
2
//! Various runtimes for hyper
3
use std::{
4
+ future::Future,
5
pin::Pin,
6
task::{Context, Poll},
7
time::{Duration, Instant},
8
};
9
-use futures_util::Future;
10
use hyper::rt::{Sleep, Timer};
11
use pin_project_lite::pin_project;
12
src/rt/timer.rs
@@ -3,12 +3,12 @@
//! Example using tokio timer:
//! ```rust
//! use std::{
+//! future::Future,
//! pin::Pin,
//! task::{Context, Poll},
//! time::{Duration, Instant},
//! };
//!
-//! use futures_util::Future;
//! use pin_project_lite::pin_project;
13
//! use hyper::rt::{Timer, Sleep};
14
0 commit comments