style: remove unused synchronization imports

Eliminate unused Arc, Mutex, and RwLock imports to clean up codebase and reduce compiler warnings.
This commit is contained in:
Nils Andreas Svee committed 2026-04-22 22:26:44 +07:00
1 parent a81d208c0d
commit ea19c6d68b
3 files changed
+1 -3

No files matched your search

-1
View File
@@ -9,7 +9,6 @@ use std::collections::HashMap;
use std::net::IpAddr; use std::net::IpAddr;
use std::sync::atomic::Ordering; use std::sync::atomic::Ordering;
use std::sync::mpsc::{Receiver, Sender}; use std::sync::mpsc::{Receiver, Sender};
use std::sync::{Arc, Mutex};
use std::time::Instant; use std::time::Instant;
#[derive(Copy, Clone)] #[derive(Copy, Clone)]
-1
View File
@@ -12,7 +12,6 @@ use std::io::Write;
use std::net::IpAddr; use std::net::IpAddr;
use std::sync::atomic::Ordering; use std::sync::atomic::Ordering;
use std::sync::mpsc::Sender; use std::sync::mpsc::Sender;
use std::sync::{Arc, Mutex, RwLock};
use std::thread::sleep; use std::thread::sleep;
use std::time::{Duration, Instant}; use std::time::{Duration, Instant};
use thiserror::Error; use thiserror::Error;
+1 -1
View File
@@ -7,7 +7,7 @@ use std::collections::HashMap;
use std::net::IpAddr; use std::net::IpAddr;
use std::sync::atomic::Ordering; use std::sync::atomic::Ordering;
use std::sync::mpsc::Receiver; use std::sync::mpsc::Receiver;
use std::sync::{Arc, Mutex, RwLock}; use std::sync::{Arc, RwLock};
use std::thread::sleep; use std::thread::sleep;
use std::time::Duration; use std::time::Duration;