aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/queue.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireguard/queue.rs')
-rw-r--r--src/wireguard/queue.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wireguard/queue.rs b/src/wireguard/queue.rs
index 75b9104..eea1ccf 100644
--- a/src/wireguard/queue.rs
+++ b/src/wireguard/queue.rs
@@ -1,6 +1,7 @@
-use crossbeam_channel::{bounded, Receiver, Sender};
use std::sync::Mutex;
+use crossbeam_channel::{bounded, Receiver, Sender};
+
pub struct ParallelQueue<T> {
queue: Mutex<Option<Sender<T>>>,
}