From f1b78d53d7d0009fdef8f0e220bc0c421288c514 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Thu, 23 Nov 2023 00:08:16 +0300 Subject: general clean ups for the docs --- p2p/src/backend.rs | 2 -- p2p/src/routing_table/mod.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'p2p/src') diff --git a/p2p/src/backend.rs b/p2p/src/backend.rs index 4410205..2e34f47 100644 --- a/p2p/src/backend.rs +++ b/p2p/src/backend.rs @@ -18,8 +18,6 @@ pub type ArcBackend = Arc; /// Backend serves as the central entry point for initiating and managing /// the P2P network. -/// -/// pub struct Backend { /// The Configuration for the P2P network. config: Arc, diff --git a/p2p/src/routing_table/mod.rs b/p2p/src/routing_table/mod.rs index 35729da..5277c0a 100644 --- a/p2p/src/routing_table/mod.rs +++ b/p2p/src/routing_table/mod.rs @@ -39,7 +39,7 @@ pub enum AddEntryResult { } /// This is a modified version of the Kademlia Distributed Hash Table (DHT). -/// https://en.wikipedia.org/wiki/Kademlia +/// #[derive(Debug)] pub struct RoutingTable { key: Key, -- cgit v1.2.3