From fdbccf055d5b936f2f2a6d8b5cffee357b1b41e7 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Wed, 15 Aug 2018 09:43:35 +0300 Subject: [PATCH] Remove variable shadowing in listener.rs --- src/network/listener.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/network/listener.rs b/src/network/listener.rs index 5fd7fb39..e1b4f893 100644 --- a/src/network/listener.rs +++ b/src/network/listener.rs @@ -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() {