From fb63b1c15d72d95b299fad70aa6f4546a5574acb Mon Sep 17 00:00:00 2001 From: xphoniex Date: Mon, 26 Jun 2023 16:55:33 +0000 Subject: [PATCH] radicle: Improve doc comments Signed-off-by: xphoniex --- radicle/src/profile.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicle/src/profile.rs b/radicle/src/profile.rs index eec96aa5..ef23123b 100644 --- a/radicle/src/profile.rs +++ b/radicle/src/profile.rs @@ -149,7 +149,7 @@ impl Profile { Ok(router) } - /// Return a handle to the address database of the node. + /// Return a handle to the addresses database of the node. pub fn addresses(&self) -> Result { let path = self.home.node().join(node::ADDRESS_DB_FILE); let addresses = address::Book::reader(path)?; @@ -193,7 +193,7 @@ pub struct Aliases { impl AliasStore for Aliases { /// Retrieve `alias` of given node. - /// First looks in `tracking.db` and then `address.db`. + /// First looks in `tracking.db` and then `addresses.db`. fn alias(&self, nid: &NodeId) -> Option { self.tracking .alias(nid)