Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: Improve doc comments
xphoniex committed 2 years ago
commit fb63b1c15d72d95b299fad70aa6f4546a5574acb
parent bed69ddca9cd5f844ea332f36ebe2b344456a823
1 file changed +2 -2
modified 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<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)