radicle: Improve doc comments

Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
xphoniex 2023-06-26 16:55:33 +00:00 committed by Alexis Sellier
parent bed69ddca9
commit fb63b1c15d
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -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<address::Book, address::Error> {
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<String> {
self.tracking
.alias(nid)