From 29cd6ec1ec6f90a7ee1ad641c03e0e00badbcb0e Mon Sep 17 00:00:00 2001 From: Nur Date: Mon, 7 Oct 2024 18:13:09 +0600 Subject: [PATCH] time: import `Future` trait from std instead of futures_core (#6884) --- tokio-util/src/time/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-util/src/time/mod.rs b/tokio-util/src/time/mod.rs index 06d4bd2697e..b4c5a772bb2 100644 --- a/tokio-util/src/time/mod.rs +++ b/tokio-util/src/time/mod.rs @@ -8,7 +8,7 @@ //! //! 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 tokio::time::Timeout;