]> git.lizzy.rs Git - mt_rudp.git/blobdiff - src/recv.rs
clippy
[mt_rudp.git] / src / recv.rs
index e3d3e6b68c1c43ad08132e51427000813ee1536d..e685c9c518e58058b63ad20313e14b82fadabdc2 100644 (file)
@@ -82,6 +82,7 @@ impl<R: UdpReceiver, S: UdpSender> RecvWorker<R, S> {
                     self.pkt_tx.send(Err(RemoteDisco(to))).ok();
                 }
 
+                #[allow(clippy::single_match)]
                 match e {
                                        // anon5's mt notifies the peer on timeout, C++ MT does not
                                        LocalDisco /*| RemoteDisco(true)*/ => drop(