aboutsummaryrefslogtreecommitdiff
path: root/p2p/src
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2023-11-23 00:08:16 +0300
committerhozan23 <hozan23@proton.me>2023-11-23 00:08:16 +0300
commitf1b78d53d7d0009fdef8f0e220bc0c421288c514 (patch)
tree4e00a6ef8228a25debcaadf8b1e3b5ca4517eeae /p2p/src
parent52616ee63d77e1847f502c0ac92bead6eaa12ab3 (diff)
general clean ups for the docs
Diffstat (limited to 'p2p/src')
-rw-r--r--p2p/src/backend.rs2
-rw-r--r--p2p/src/routing_table/mod.rs2
2 files changed, 1 insertions, 3 deletions
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>;
/// 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<Config>,
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
+/// <https://en.wikipedia.org/wiki/Kademlia>
#[derive(Debug)]
pub struct RoutingTable {
key: Key,