mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-06 00:00:10 +02:00
sync: remove unnecessary imports (#1043)
This commit is contained in:
@@ -532,8 +532,6 @@ impl Semaphore {
|
||||
|
||||
impl fmt::Debug for Semaphore {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
|
||||
use std::sync::atomic::Ordering::Relaxed;
|
||||
|
||||
fmt.debug_struct("Semaphore")
|
||||
.field("state", &SemState::load(&self.state, Relaxed))
|
||||
.field("head", &self.head.with(|ptr| ptr))
|
||||
|
||||
Reference in New Issue
Block a user