Skip to content

Commit

Permalink
refactor(ext): replace futures_util::Future with std::future::Future
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Oct 11, 2023
1 parent ad1b016 commit 5caa34f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benches/support/tokiort.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#![allow(dead_code)]
//! Various runtimes for hyper
use std::{
future::Future,
pin::Pin,
task::{Context, Poll},
time::{Duration, Instant},
};

use futures_util::Future;
use hyper::rt::{Sleep, Timer};
use pin_project_lite::pin_project;

Expand Down
2 changes: 1 addition & 1 deletion src/rt/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
//! use hyper::rt::{Timer, Sleep};
//!
Expand Down

0 comments on commit 5caa34f

Please sign in to comment.