Remove variable shadowing in listener.rs
This commit is contained in:
parent
14f5db070a
commit
fdbccf055d
|
@ -53,7 +53,6 @@ pub trait Listener {
|
|||
// Message loop
|
||||
thread::spawn(move || {
|
||||
let mut handshake_complete = false;
|
||||
let mut sock = sock;
|
||||
loop {
|
||||
// Receive new message
|
||||
match sock.receive_message() {
|
||||
|
|
Loading…
Reference in New Issue