mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-24 23:31:33 +00:00
Check documentation intra-link (#1432)
* Fix broken links in rustdoc This fixes all of the rustdoc warnings on nightly. * Check documentation intra-link * Fix config * Fix bad indent * Make nightly explicit * More links fixes * Fix link broken after master merge Co-authored-by: Demi Obenour <48690212+DemiMarie-parity@users.noreply.github.com>
This commit is contained in:
@ -383,7 +383,7 @@ impl Gossipsub {
|
||||
debug!("Completed JOIN for topic: {:?}", topic_hash);
|
||||
}
|
||||
|
||||
/// Gossipsub LEAVE(topic) - Notifies mesh[topic] peers with PRUNE messages.
|
||||
/// Gossipsub LEAVE(topic) - Notifies mesh\[topic\] peers with PRUNE messages.
|
||||
fn leave(&mut self, topic_hash: &TopicHash) {
|
||||
debug!("Running LEAVE for topic {:?}", topic_hash);
|
||||
|
||||
@ -880,7 +880,7 @@ impl Gossipsub {
|
||||
}
|
||||
}
|
||||
|
||||
/// Helper function which forwards a message to mesh[topic] peers.
|
||||
/// Helper function which forwards a message to mesh\[topic\] peers.
|
||||
fn forward_msg(&mut self, message: GossipsubMessage, source: &PeerId) {
|
||||
let msg_id = (self.config.message_id_fn)(&message);
|
||||
debug!("Forwarding message: {:?}", msg_id);
|
||||
|
Reference in New Issue
Block a user