Removed compiler warnings (unused imports)

This commit is contained in:
Ricardo Zuasti
2026-01-18 12:04:13 -05:00
parent 5a7d504905
commit 245a6ec2ef
3 changed files with 4 additions and 4 deletions
@@ -1,5 +1,5 @@
use crate::device_finders::Device;
use log::{debug, info, warn};
use log::{debug, info};
use pnet::datalink::{DataLinkReceiver, DataLinkSender, NetworkInterface};
use pnet::ipnetwork::Ipv4Network;
use pnet::packet::arp::{ArpHardwareTypes, ArpOperations, ArpPacket, MutableArpPacket};
@@ -100,7 +100,7 @@ pub async fn listen_for_packets(
sleep(Duration::from_millis(1)).await;
}
info!(
"ARP receiver run for {} secs",
"ARP receiver ran for {} secs",
(Instant::now() - start_time).as_secs()
);