mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
time: import Future trait from std instead of futures_core (#6884)
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
//!
|
//!
|
||||||
//! This type must be used from within the context of the `Runtime`.
|
//! This type must be used from within the context of the `Runtime`.
|
||||||
|
|
||||||
use futures_core::Future;
|
use std::future::Future;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
use tokio::time::Timeout;
|
use tokio::time::Timeout;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user