Skip to content

Commit

Permalink
chore: fix typos (paritytech#4515)
Browse files Browse the repository at this point in the history
Co-authored-by: jimwfs <[email protected]>
  • Loading branch information
2 people authored and hitchhooker committed Jun 5, 2024
1 parent 0030d02 commit 25aa80e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ impl BlockEntry {
self.distributed_assignments.resize(new_len, false);
self.distributed_assignments |= bitfield;

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

distributed
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/gum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
//!
//! ### Log levels
//!
//! All of the the [`tracing` macros](https://docs.rs/tracing/latest/tracing/index.html#macros) are available.
//! All of the [`tracing` macros](https://docs.rs/tracing/latest/tracing/index.html#macros) are available.
//! In decreasing order of priority they are:
//!
//! - `error!`
Expand Down
2 changes: 1 addition & 1 deletion polkadot/node/network/bridge/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ fn send_message<M>(
// network used `Bytes` this would not be necessary.
//
// peer may have gotten disconnect by the time `send_message()` is called
// at which point the the sink is not available.
// at which point the sink is not available.
let last_peer = peers.pop();
peers.into_iter().for_each(|peer| {
if let Some(sink) = notification_sinks.get(&(peer_set, peer)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ enum MuxedMessage {
/// A new request has arrived and should be handled.
NewRequest(IncomingRequest<DisputeRequest>),

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

0 comments on commit 25aa80e

Please sign in to comment.