Skip to content

Commit 5736ab6

Browse files
authored
chore: clean up no longer used imports (#3845)
Signed-off-by: tison <[email protected]>
1 parent 91d26ba commit 5736ab6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sqlx-core/src/sync.rs

-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
// We'll generally lean towards Tokio's types as those are more featureful
55
// (including `tokio-console` support) and more widely deployed.
66

7-
#[cfg(all(feature = "_rt-async-std", not(feature = "_rt-tokio")))]
8-
pub use async_std::sync::{Mutex as AsyncMutex, MutexGuard as AsyncMutexGuard};
9-
10-
#[cfg(feature = "_rt-tokio")]
11-
pub use tokio::sync::{Mutex as AsyncMutex, MutexGuard as AsyncMutexGuard};
12-
137
pub struct AsyncSemaphore {
148
// We use the semaphore from futures-intrusive as the one from async-std
159
// is missing the ability to add arbitrary permits, and is not guaranteed to be fair:

0 commit comments

Comments
 (0)