From d0fa876b6f07be155f4bb8866fb46e748b115636 Mon Sep 17 00:00:00 2001 From: tsinglua Date: Thu, 12 Mar 2026 12:46:05 +0800 Subject: [PATCH] chore: fix some minor issues in the comments Signed-off-by: tsinglua --- node/src/reactor/queue_kind.rs | 2 +- node/src/utils/specimen.rs | 2 +- storage/src/system/auction/detail.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/node/src/reactor/queue_kind.rs b/node/src/reactor/queue_kind.rs index 628ccc0ee6..f90822bc88 100644 --- a/node/src/reactor/queue_kind.rs +++ b/node/src/reactor/queue_kind.rs @@ -20,7 +20,7 @@ pub enum QueueKind { Control, /// Network events that were initiated outside of this node. /// - /// Their load may vary and grouping them together in one queue aides DoS protection. + /// Their load may vary and grouping them together in one queue aids DoS protection. NetworkIncoming, /// Network events that are low priority. NetworkLowPriority, diff --git a/node/src/utils/specimen.rs b/node/src/utils/specimen.rs index 43e5cea633..de8b065b3e 100644 --- a/node/src/utils/specimen.rs +++ b/node/src/utils/specimen.rs @@ -1086,7 +1086,7 @@ impl LargestSpecimen for ExecutableDeployItem { // // However, this does not hold true for all encoding schemes: An inefficient encoding can // easily, via `RuntimeArgs`, result in a much larger encoded size, e.g. when encoding an - // array of 1-byte elements in a format that uses string quoting and a delimiter to seperate + // array of 1-byte elements in a format that uses string quoting and a delimiter to separate // elements. // // We compromise by not supporting encodings this inefficient and add 10 * a 32-bit integer diff --git a/storage/src/system/auction/detail.rs b/storage/src/system/auction/detail.rs index 8b29d5ba00..3ddd1cf8f9 100644 --- a/storage/src/system/auction/detail.rs +++ b/storage/src/system/auction/detail.rs @@ -900,7 +900,7 @@ where ) .map_err(|_| Error::TransferToDelegatorPurse)? .map_err(|mint_error| { - // Propagate mint contract's error that occured during execution of transfer + // Propagate mint contract's error that occurred during execution of transfer // entrypoint. This will improve UX in case of (for example) // unapproved spending limit error. ApiError::from(mint_error)