mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-02 11:46:07 -04:00
fix clippy lints
This commit is contained in:
parent
78ff6d0c61
commit
a12c8eabb3
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue