Skip to content

Commit

Permalink
chore: Remove redundant pnet_datalink import
Browse files Browse the repository at this point in the history
- Removed the redundant import of `pnet_datalink` when the `ip-fallback` feature is enabled.
  • Loading branch information
houseme committed Oct 10, 2024
1 parent c1269de commit ecb7026
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecb7026

Please sign in to comment.