Drop spurious semicolon that new rustc complains about
[rust-lightning] / lightning-net-tokio / src / lib.rs
index b8b33318f99a0fcaa41ce7c4b803eb9a5daff277..80f7e055283ebbe5bfdc274d089057b14eb435b9 100644 (file)
@@ -157,7 +157,7 @@ impl Connection {
                        // In this case, we do need to call peer_manager.socket_disconnected() to inform
                        // Rust-Lightning that the socket is gone.
                        PeerDisconnected
-               };
+               }
                let disconnect_type = loop {
                        macro_rules! shutdown_socket {
                                ($err: expr, $need_disconnect: expr) => { {