Skip to content

Commit c353457

Browse files
committed
Fix unused import
1 parent 394a13c commit c353457

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

netwatch/src/ip.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//! IP address related utilities.
22
3-
use std::net::{IpAddr, Ipv6Addr};
3+
#[cfg(not(all(target_family = "wasm", target_os = "unknown")))]
4+
use std::net::IpAddr;
5+
use std::net::Ipv6Addr;
46

57
#[cfg(not(all(target_family = "wasm", target_os = "unknown")))]
68
const IFF_UP: u32 = 0x1;

0 commit comments

Comments
 (0)