Remove redundant import

```
error: the item `Future` is imported redundantly
  --> tests/rwlock.rs:11:5
   |
9  | use futures_lite::prelude::*;
   |     ------------------------ the item `Future` is already imported here
10 | #[cfg(not(target_family = "wasm"))]
11 | use std::future::Future;
   |     ^^^^^^^^^^^^^^^^^^^
   |
   = note: `-D unused-imports` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(unused_imports)]`
```
This commit is contained in:
Taiki Endo 2024-03-03 21:30:17 +09:00 committed by Jules Bertholet
parent ff4c96fe4d
commit aeb9d8ff8e
1 changed files with 0 additions and 2 deletions

View File

@ -8,8 +8,6 @@ use common::check_yields_when_contended;
#[cfg(not(target_family = "wasm"))]
use futures_lite::prelude::*;
#[cfg(not(target_family = "wasm"))]
use std::future::Future;
#[cfg(not(target_family = "wasm"))]
use std::thread;
use futures_lite::future;