Fix new clippy warnings

This commit is contained in:
Aram 🍐 2023-12-21 15:16:57 -05:00
parent 7200cc07e7
commit 731218d943
3 changed files with 3 additions and 4 deletions

View file

@ -198,7 +198,7 @@ impl VirtualInterfacePoll for UdpVirtualInterface {
}
next_poll = None;
}
Event::VirtualDeviceFed(protocol) if protocol == PortProtocol::Udp => {
Event::VirtualDeviceFed(PortProtocol::Udp) => {
next_poll = None;
}
_ => {}