clippy fix

This commit is contained in:
hinto.janai 2024-12-06 09:26:20 -05:00
parent 20e599fc72
commit a1903f33b0
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -3,14 +3,11 @@
//! Only non-crate types are imported, all crate types use `crate::`. //! Only non-crate types are imported, all crate types use `crate::`.
use std::{ use std::{
net::{Ipv4Addr, SocketAddr, SocketAddrV4}, net::{SocketAddr, SocketAddrV4},
time::Duration, time::Duration,
}; };
use cuprate_helper::{ use cuprate_helper::{fmt::hex_prefix_u128, map::ipv4_from_u32};
fmt::hex_prefix_u128,
map::{combine_low_high_bits_to_u128, ipv4_from_u32},
};
use cuprate_p2p_core::{ use cuprate_p2p_core::{
types::{ConnectionId, ConnectionInfo, SetBan, Span}, types::{ConnectionId, ConnectionInfo, SetBan, Span},
NetZoneAddress, NetZoneAddress,