From a2c1267c850ea6714625c921011c98074a083175 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sat, 23 Mar 2024 16:04:07 -0700 Subject: [PATCH] chore: Fix new nightly warnings Signed-off-by: John Nunley --- benches/executor.rs | 1 - examples/priority.rs | 1 - src/lib.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/benches/executor.rs b/benches/executor.rs index 20d41a1..b6e33c2 100644 --- a/benches/executor.rs +++ b/benches/executor.rs @@ -1,4 +1,3 @@ -use std::future::Future; use std::thread::available_parallelism; use async_executor::Executor; diff --git a/examples/priority.rs b/examples/priority.rs index df77dd1..60d5c9a 100644 --- a/examples/priority.rs +++ b/examples/priority.rs @@ -1,6 +1,5 @@ //! An executor with task priorities. -use std::future::Future; use std::thread; use async_executor::{Executor, Task}; diff --git a/src/lib.rs b/src/lib.rs index 3fea5e0..31fd40d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,7 +34,6 @@ )] use std::fmt; -use std::future::Future; use std::marker::PhantomData; use std::panic::{RefUnwindSafe, UnwindSafe}; use std::rc::Rc;