From a12c8eabb34776d3a51447e1bcf6aba1fd6c1c4d Mon Sep 17 00:00:00 2001 From: John Smith Date: Sat, 25 Dec 2021 11:13:30 -0500 Subject: [PATCH] fix clippy lints --- veilid-core/src/intf/native/network/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/veilid-core/src/intf/native/network/mod.rs b/veilid-core/src/intf/native/network/mod.rs index 94e361cb..40697408 100644 --- a/veilid-core/src/intf/native/network/mod.rs +++ b/veilid-core/src/intf/native/network/mod.rs @@ -468,7 +468,7 @@ impl Network { // Create protocol handler let udpv4_handler = - RawUdpProtocolHandler::new(inner.network_manager.clone(), socket_arc.clone()); + RawUdpProtocolHandler::new(inner.network_manager.clone(), socket_arc); inner.outbound_udpv4_protocol_handler = Some(udpv4_handler); } @@ -485,7 +485,7 @@ impl Network { // Create protocol handler let udpv6_handler = - RawUdpProtocolHandler::new(inner.network_manager.clone(), socket_arc.clone()); + RawUdpProtocolHandler::new(inner.network_manager.clone(), socket_arc); inner.outbound_udpv6_protocol_handler = Some(udpv6_handler); }