@@ -20,7 +20,6 @@ pub use self::internal::Cached;
2020mod internal {
2121 use std:: collections:: VecDeque ;
2222 use std:: fmt;
23- use std:: future:: Future ;
2423 use std:: pin:: Pin ;
2524 use std:: sync:: { Arc , Mutex , Weak } ;
2625 use std:: task:: { self , Poll , Waker , ready} ;
@@ -631,7 +630,6 @@ mod tests {
631630 // (FIFO), so a waiter cannot be starved by later arrivals.
632631 #[ tokio:: test]
633632 async fn test_waiters_woken_in_fifo_order ( ) {
634- use std:: future:: Future ;
635633 use std:: task:: { Context , Poll , Waker } ;
636634
637635 let ( mock, mut handle) = tower_test:: mock:: pair :: < u32 , & ' static str > ( ) ;
@@ -697,7 +695,6 @@ mod tests {
697695
698696 #[ tokio:: test]
699697 async fn dropped_racing_future_cancels_waiter ( ) {
700- use std:: future:: Future ;
701698 use std:: task:: { Context , Poll , Waker } ;
702699
703700 let ( mock, mut handle) = tower_test:: mock:: pair :: < u32 , & ' static str > ( ) ;
@@ -825,7 +822,6 @@ mod tests {
825822
826823 #[ tokio:: test]
827824 async fn idle_return_wakes_pending_poll_ready ( ) {
828- use std:: future:: Future ;
829825 use std:: sync:: atomic:: AtomicBool ;
830826 use std:: task:: { Context , Waker } ;
831827
0 commit comments