Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: Fix a documentation issue
Alexis Sellier committed 2 years ago
commit 37d6c03026e3bcd497df30168df5d850b559b29d
parent e41d67544c15ad49915f9a6d28b30df6f1841939
1 file changed +2 -2
modified radicle/src/node.rs
@@ -245,7 +245,7 @@ impl Seeds {
    }
}

-
/// Announcement result returned by [`announce`].
+
/// Announcement result returned by [`Node::announce`].
pub struct AnnounceResult {
    /// Nodes that timed out.
    pub timeout: Vec<NodeId>,
@@ -253,7 +253,7 @@ pub struct AnnounceResult {
    pub synced: Vec<NodeId>,
}

-
/// A sync event, emitted by [`announce`].
+
/// A sync event, emitted by [`Node::announce`].
pub enum AnnounceEvent {
    /// Refs were synced with the given node.
    RefsSynced { remote: NodeId },