Skip to content

Commit

Permalink
fix(net): doc lints
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Aug 27, 2024
1 parent 338b554 commit dbbd049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/net/src/gossip/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl GossipDriver {
self.swarm.select_next_some().await
}

/// Dials the given [Option<Multiaddr>].
/// Dials the given [`Option<Multiaddr>`].
pub async fn dial_opt(&mut self, peer: Option<impl Into<Multiaddr>>) {
let Some(addr) = peer else {
return;
Expand Down

0 comments on commit dbbd049

Please sign in to comment.