Skip to content

Commit 1c3e820

Browse files
authored
chore: fix some typos in comment
fix some typos in comment Pull-Request: #5721.
1 parent d0590a7 commit 1c3e820

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protocols/gossipsub/src/behaviour.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2761,7 +2761,7 @@ where
27612761
| RpcOut::Prune(_)
27622762
| RpcOut::Subscribe(_)
27632763
| RpcOut::Unsubscribe(_) => {
2764-
unreachable!("Channel for highpriority contorl messages is unbounded and should always be open.")
2764+
unreachable!("Channel for highpriority control messages is unbounded and should always be open.")
27652765
}
27662766
}
27672767

swarm/src/dial_opts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ pub enum PeerCondition {
338338
NotDialing,
339339
/// A combination of [`Disconnected`](PeerCondition::Disconnected) and
340340
/// [`NotDialing`](PeerCondition::NotDialing). A new dialing attempt is
341-
/// iniated _only if_ the peer is both considered disconnected and there
341+
/// initiated _only if_ the peer is both considered disconnected and there
342342
/// is currently no ongoing dialing attempt.
343343
#[default]
344344
DisconnectedAndNotDialing,

0 commit comments

Comments
 (0)