aboutsummaryrefslogtreecommitdiff
path: root/src/voice/connection.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/voice/connection.rs')
-rw-r--r--src/voice/connection.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/voice/connection.rs b/src/voice/connection.rs
index 8e94486..54d9116 100644
--- a/src/voice/connection.rs
+++ b/src/voice/connection.rs
@@ -1,8 +1,8 @@
use byteorder::{
- BigEndian,
- ByteOrder,
- LittleEndian,
- ReadBytesExt,
+ BigEndian,
+ ByteOrder,
+ LittleEndian,
+ ReadBytesExt,
WriteBytesExt
};
use constants::VOICE_GATEWAY_VERSION;
@@ -32,15 +32,15 @@ use std::{
net::{SocketAddr, ToSocketAddrs, UdpSocket},
sync::{
mpsc::{
- self,
- Receiver as MpscReceiver,
+ self,
+ Receiver as MpscReceiver,
Sender as MpscSender
},
Arc,
},
thread::{
- self,
- Builder as ThreadBuilder,
+ self,
+ Builder as ThreadBuilder,
JoinHandle
},
time::Duration
@@ -53,8 +53,8 @@ use websocket::{
sync::{
client::ClientBuilder,
stream::{
- AsTcpStream,
- TcpStream,
+ AsTcpStream,
+ TcpStream,
TlsStream
},
},