Skip to content

Commit

Permalink
forgot to split imports
Browse files Browse the repository at this point in the history
  • Loading branch information
JustBobinAround committed Feb 20, 2024
1 parent 3b9ddf1 commit b31f512
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/show_ip_and_ifs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ use local_ip_address::{
list_afinet_netifas,
local_ip,
local_ipv6,
local_broadcast_ip,
};
// this is only supported on linux currently
#[cfg(target_os = "linux")]
use local_ip_address::local_broadcast_ip;

fn main() {
match local_ip() {
Expand Down

0 comments on commit b31f512

Please sign in to comment.