From e1cc1b9ccc597a7902b59e0c0916eb637bdb060f Mon Sep 17 00:00:00 2001 From: Emilia Hane Date: Mon, 22 Jan 2024 21:02:00 +0100 Subject: [PATCH] Fix lint --- src/handler/request_call.rs | 2 +- src/kbucket/entry.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handler/request_call.rs b/src/handler/request_call.rs index b91c7643e..42506aa76 100644 --- a/src/handler/request_call.rs +++ b/src/handler/request_call.rs @@ -1,4 +1,4 @@ -pub use crate::node_info::{NodeAddress, NodeContact}; +pub use crate::node_info::NodeContact; use crate::{ packet::Packet, rpc::{Request, RequestBody}, diff --git a/src/kbucket/entry.rs b/src/kbucket/entry.rs index 1e0304048..7df9429af 100644 --- a/src/kbucket/entry.rs +++ b/src/kbucket/entry.rs @@ -26,7 +26,7 @@ pub use super::{ bucket::{ - AppliedPending, ConnectionState, InsertResult, Node, NodeStatus, MAX_NODES_PER_BUCKET, + AppliedPending, ConnectionState, InsertResult, Node, NodeStatus, }, key::*, ConnectionDirection,