radicle: Fix a documentation issue

This commit is contained in:
Alexis Sellier 2023-05-25 13:09:55 +02:00
parent e41d67544c
commit 37d6c03026
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -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 },