Skip to content

Commit a9c6652

Browse files
authored
chore: Fix some typos in MR code (dfinity#3719)
1 parent c5e098e commit a9c6652

File tree

1 file changed

+3
-3
lines changed
  • rs/replicated_state/src/canister_state

1 file changed

+3
-3
lines changed

rs/replicated_state/src/canister_state/queues.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ impl From<RequestOrResponse> for CanisterInput {
353353
/// whose responses have been shed.
354354
///
355355
/// Implements the `MessageStore` trait for both inbound messages
356-
/// (`T = CanisterInput` items that are eiter pooled messages or compact
356+
/// (`T = CanisterInput` items that are either pooled messages or compact
357357
/// responses) and outbound messages (pooled `RequestOrResponse items`).
358358
#[derive(Clone, Eq, PartialEq, Debug, Default, ValidateEq)]
359359
struct MessageStoreImpl {
@@ -1724,8 +1724,8 @@ fn generate_timeout_response(request: &Request) -> Response {
17241724
}
17251725
}
17261726

1727-
/// Returns a function that determines the input queue type (local or remote) of
1728-
/// a given sender, based on a the set of all local canisters, plus
1727+
/// Returns a function that determines the input queue type (local or remote)
1728+
/// of a given sender, based on the set of all local canisters, plus
17291729
/// `own_canister_id` (since Rust's ownership rules would prevent us from
17301730
/// mutating a canister's queues if they were still under `local_canisters`).
17311731
fn input_queue_type_fn<'a>(

0 commit comments

Comments
 (0)