Skip to content

Commit a43595f

Browse files
committedMar 18, 2025
Fix clippy lint
1 parent 9f32bf4 commit a43595f

File tree

1 file changed

+1
-1
lines changed
  • talpid-tunnel/src/tun_provider/android

1 file changed

+1
-1
lines changed
 

‎talpid-tunnel/src/tun_provider/android/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ impl VpnServiceConfig {
301301
.clone()
302302
.unwrap_or_else(|| config.gateways())
303303
// If IPv6 not available we need to disable all IPv6 DNS servers as that will cause leaks
304-
.iter().filter(|ip| !ip.is_ipv6() || config.ipv6_gateway.is_some()).map(|ip| *ip).collect()
304+
.iter().filter(|ip| !ip.is_ipv6() || config.ipv6_gateway.is_some()).copied().collect()
305305
}
306306

307307
/// Potentially subtract LAN nets from the VPN service routes, excepting gateways.

0 commit comments

Comments
 (0)