diff --git a/src/mutex.rs b/src/mutex.rs index 633ff9b..69828ba 100644 --- a/src/mutex.rs +++ b/src/mutex.rs @@ -4,7 +4,6 @@ use futures_channel::oneshot; use futures_task::{Context, Poll}; use std::{ cell::UnsafeCell, - clone::Clone, collections::VecDeque, future::Future, ops::{Deref, DerefMut}, diff --git a/src/rwlock.rs b/src/rwlock.rs index e4abbaa..ff2bae2 100644 --- a/src/rwlock.rs +++ b/src/rwlock.rs @@ -4,7 +4,6 @@ use futures_channel::oneshot; use futures_task::{Context, Poll}; use std::{ cell::UnsafeCell, - clone::Clone, collections::VecDeque, future::Future, ops::{Deref, DerefMut}, diff --git a/tests/mutex.rs b/tests/mutex.rs index ee09a14..2505845 100644 --- a/tests/mutex.rs +++ b/tests/mutex.rs @@ -7,7 +7,7 @@ use futures::stream::StreamExt; use std::sync::Arc; #[cfg(feature = "tokio")] use std::rc::Rc; -use tokio::{self, sync::Barrier}; +use tokio::{sync::Barrier}; #[cfg(feature = "tokio")] use tokio::runtime; use tokio_test::task::spawn; diff --git a/tests/rwlock.rs b/tests/rwlock.rs index 12ffab9..1bb98ab 100644 --- a/tests/rwlock.rs +++ b/tests/rwlock.rs @@ -10,7 +10,7 @@ use futures::future::ready; use std::sync::Arc; #[cfg(feature = "tokio")] use std::rc::Rc; -use tokio::{self, sync::Barrier}; +use tokio::{sync::Barrier}; #[cfg(feature = "tokio")] use tokio::runtime; use tokio_test::{