Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: fix documentation grammar
Fintan Halpenny committed 1 month ago
commit 2cf1e2eae4ca1d092c061fc2bb24feb8fd4f099d
parent f22ecc26624346685ead9bfdff928041af6e641a
1 file changed +4 -4
modified crates/radicle/src/profile.rs
@@ -667,19 +667,19 @@ impl Home {
        self.path.join("cobs")
    }

-
    /// The location of the control socket the node.
+
    /// The location of the control socket of the node.
    /// If the environment variable with name [`env::RAD_SOCKET`] is set,
    /// its value is used.
    /// Otherwise, the default socket name, which is relative to this
-
    /// [`Home`], is used, see [`Self::socket_default`].
+
    /// [`Home`], is used (see [`Self::socket_default`]).
    pub fn socket_from_env(&self) -> PathBuf {
        env::var_os(env::RAD_SOCKET)
            .map(PathBuf::from)
            .unwrap_or_else(|| self.socket_default())
    }

-
    /// The default location of the control socket the node.
-
    /// The returned value only depends on `self`, but not on
+
    /// The default location of the control socket of the node.
+
    /// The returned value only depends on `self`, and not on
    /// any environment variables.
    ///
    /// See also [`Self::socket_from_env`].