aboutsummaryrefslogtreecommitdiff
path: root/src/recv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/recv.rs')
-rw-r--r--src/recv.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/recv.rs b/src/recv.rs
index e3d3e6b..e685c9c 100644
--- a/src/recv.rs
+++ b/src/recv.rs
@@ -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(