Drop spurious semicolon that new rustc complains about 2021-01-tokio-1
authorMatt Corallo <git@bluematt.me>
Thu, 28 Jan 2021 04:01:37 +0000 (23:01 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 2 Feb 2021 21:43:07 +0000 (16:43 -0500)
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) => { {