mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-22 19:49:33 +00:00
clippy fix
This commit is contained in:
parent
20e599fc72
commit
a1903f33b0
1 changed files with 2 additions and 5 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue