aboutsummaryrefslogtreecommitdiff
path: root/src/recv.rs
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-01-07 00:49:04 +0100
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-01-07 00:49:04 +0100
commit9cf950fd1618dc888b6271346386acc64c282177 (patch)
tree31b3977a2792e2fb5e001bf5c09514fe54b44e7c /src/recv.rs
parenta8c974d5cf836cc7f2a2f0ed47287aed77c2d7fd (diff)
downloadmt_rudp-9cf950fd1618dc888b6271346386acc64c282177.tar.xz
clippy
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(