From a1903f33b0798350c06782604d9c243501ff6968 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Fri, 6 Dec 2024 09:26:20 -0500 Subject: [PATCH] clippy fix --- rpc/types/src/from.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/rpc/types/src/from.rs b/rpc/types/src/from.rs index 6d374df..f9eff07 100644 --- a/rpc/types/src/from.rs +++ b/rpc/types/src/from.rs @@ -3,14 +3,11 @@ //! Only non-crate types are imported, all crate types use `crate::`. use std::{ - net::{Ipv4Addr, SocketAddr, SocketAddrV4}, + net::{SocketAddr, SocketAddrV4}, time::Duration, }; -use cuprate_helper::{ - fmt::hex_prefix_u128, - map::{combine_low_high_bits_to_u128, ipv4_from_u32}, -}; +use cuprate_helper::{fmt::hex_prefix_u128, map::ipv4_from_u32}; use cuprate_p2p_core::{ types::{ConnectionId, ConnectionInfo, SetBan, Span}, NetZoneAddress,