Skip to content

Commit

Permalink
Clippy: fix some redundant import lints
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Mar 9, 2024
1 parent 2efa2b8 commit 9b563de
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
1 change: 0 additions & 1 deletion src/rwlock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion tests/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/rwlock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down

0 comments on commit 9b563de

Please sign in to comment.