Skip to content

Commit

Permalink
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
@@ -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.")
}
}

2 changes: 1 addition & 1 deletion swarm/src/dial_opts.rs
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit 1c3e820

Please sign in to comment.