Skip to content

Commit

Permalink
Merge pull request #58 from asomers/redundant_import
Browse files Browse the repository at this point in the history
Clippy: fix some redundant import lints
  • Loading branch information
asomers authored Mar 9, 2024
2 parents 2efa2b8 + 9b563de commit ddcae93
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 ddcae93

Please sign in to comment.