From de905706e05a5f7d9b32c08b9679bb72fe11df32 Mon Sep 17 00:00:00 2001 From: shellrow <81893184+shellrow@users.noreply.github.com> Date: Mon, 22 May 2023 21:30:49 +0900 Subject: [PATCH] Run rustfmt --- src/interface/windows.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/interface/windows.rs b/src/interface/windows.rs index 7166712..f9c7fa8 100644 --- a/src/interface/windows.rs +++ b/src/interface/windows.rs @@ -6,10 +6,11 @@ use std::convert::TryInto; use std::net::{IpAddr, Ipv4Addr, Ipv6Addr}; use windows::Win32::Foundation::{ERROR_BUFFER_OVERFLOW, NO_ERROR}; use windows::Win32::NetworkManagement::IpHelper::{ - GetAdaptersAddresses, SendARP, GAA_FLAG_INCLUDE_GATEWAYS, - IP_ADAPTER_ADDRESSES_LH, + GetAdaptersAddresses, SendARP, GAA_FLAG_INCLUDE_GATEWAYS, IP_ADAPTER_ADDRESSES_LH, +}; +use windows::Win32::Networking::WinSock::{ + AF_INET, AF_INET6, AF_UNSPEC, SOCKADDR_IN, SOCKADDR_IN6, }; -use windows::Win32::Networking::WinSock::{SOCKADDR_IN, SOCKADDR_IN6, AF_INET, AF_INET6, AF_UNSPEC}; use crate::gateway::Gateway; use crate::interface::{Interface, InterfaceType, MacAddr};