Skip to content

Commit 247358a

Browse files
jimwfsjimwfs
andauthored
chore: fix typos (#4515)
Co-authored-by: jimwfs <[email protected]>
1 parent a90d324 commit 247358a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

polkadot/node/core/approval-voting/src/persisted_entries.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ impl BlockEntry {
559559
self.distributed_assignments.resize(new_len, false);
560560
self.distributed_assignments |= bitfield;
561561

562-
// If the an operation did not change our current bitfied, we return true.
562+
// If the an operation did not change our current bitfield, we return true.
563563
let distributed = total_one_bits == self.distributed_assignments.count_ones();
564564

565565
distributed

polkadot/node/gum/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
//!
4141
//! ### Log levels
4242
//!
43-
//! All of the the [`tracing` macros](https://docs.rs/tracing/latest/tracing/index.html#macros) are available.
43+
//! All of the [`tracing` macros](https://docs.rs/tracing/latest/tracing/index.html#macros) are available.
4444
//! In decreasing order of priority they are:
4545
//!
4646
//! - `error!`

polkadot/node/network/bridge/src/network.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ fn send_message<M>(
177177
// network used `Bytes` this would not be necessary.
178178
//
179179
// peer may have gotten disconnect by the time `send_message()` is called
180-
// at which point the the sink is not available.
180+
// at which point the sink is not available.
181181
let last_peer = peers.pop();
182182
peers.into_iter().for_each(|peer| {
183183
if let Some(sink) = notification_sinks.get(&(peer_set, peer)) {

polkadot/node/network/dispute-distribution/src/receiver/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ enum MuxedMessage {
132132
/// A new request has arrived and should be handled.
133133
NewRequest(IncomingRequest<DisputeRequest>),
134134

135-
/// Rate limit timer hit - is is time to process one row of messages.
135+
/// Rate limit timer hit - is time to process one row of messages.
136136
///
137137
/// This is the result of calling `self.peer_queues.pop_reqs()`.
138138
WakePeerQueuesPopReqs(Vec<IncomingRequest<DisputeRequest>>),

0 commit comments

Comments
 (0)