From ecb7026143ff3446c02099bae0a2bad50860dd73 Mon Sep 17 00:00:00 2001 From: houseme Date: Fri, 11 Oct 2024 01:58:03 +0800 Subject: [PATCH] chore: Remove redundant pnet_datalink import - Removed the redundant import of `pnet_datalink` when the `ip-fallback` feature is enabled. --- src/builder.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/builder.rs b/src/builder.rs index 56f86f1..146f733 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -8,9 +8,6 @@ use std::sync::{Arc, Mutex}; #[cfg(feature = "ip-fallback")] use std::net::{IpAddr, Ipv4Addr}; -#[cfg(feature = "ip-fallback")] -use pnet_datalink; - /// A builder to build a [`Snowflake`] generator. /// /// [`Snowflake`]: struct.Snowflake.html