Skip to content

Commit

Permalink
chore: fix some typos in comment
Browse files Browse the repository at this point in the history
fix some typos in comment

Pull-Request: libp2p#5721.
  • Loading branch information
needsure authored and jxs committed Jan 6, 2025
1 parent cc0298c commit 3934aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protocols/gossipsub/src/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2761,7 +2761,7 @@ where
| RpcOut::Prune(_)
| RpcOut::Subscribe(_)
| RpcOut::Unsubscribe(_) => {
unreachable!("Channel for highpriority contorl messages is unbounded and should always be open.")
unreachable!("Channel for highpriority control messages is unbounded and should always be open.")
}
}

Expand Down
2 changes: 1 addition & 1 deletion swarm/src/dial_opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ pub enum PeerCondition {
NotDialing,
/// A combination of [`Disconnected`](PeerCondition::Disconnected) and
/// [`NotDialing`](PeerCondition::NotDialing). A new dialing attempt is
/// iniated _only if_ the peer is both considered disconnected and there
/// initiated _only if_ the peer is both considered disconnected and there
/// is currently no ongoing dialing attempt.
#[default]
DisconnectedAndNotDialing,
Expand Down

0 comments on commit 3934aa0

Please sign in to comment.