Remove variable shadowing in listener.rs

This commit is contained in:
Roman Zeyde 2018-08-15 09:43:35 +03:00
parent 14f5db070a
commit fdbccf055d
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB
1 changed files with 0 additions and 1 deletions

View File

@ -53,7 +53,6 @@ pub trait Listener {
// Message loop // Message loop
thread::spawn(move || { thread::spawn(move || {
let mut handshake_complete = false; let mut handshake_complete = false;
let mut sock = sock;
loop { loop {
// Receive new message // Receive new message
match sock.receive_message() { match sock.receive_message() {