Remove variable shadowing in listener.rs
This commit is contained in:
parent
14f5db070a
commit
fdbccf055d
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue