diff --git a/script/src/scheduler.rs b/script/src/scheduler.rs index eecf423b9d..aee25168a8 100644 --- a/script/src/scheduler.rs +++ b/script/src/scheduler.rs @@ -560,7 +560,7 @@ where _ => (), } } - // Transfering data from write fds to read fds + // Transferring data from write fds to read fds for (read_vm_id, read_state, write_vm_id, write_state) in pairs { let ReadState { length: read_length, diff --git a/script/testdata/spawn_cases.c b/script/testdata/spawn_cases.c index 171164df03..121291cb06 100644 --- a/script/testdata/spawn_cases.c +++ b/script/testdata/spawn_cases.c @@ -121,7 +121,7 @@ int parent_invalid_fd(uint64_t* pid) { err = ckb_write(fds[CKB_STDOUT], data, &data_length); CHECK2(err == CKB_OTHER_END_CLOSED, -2); - // read from fd but the ohter end is closed + // read from fd but the other end is closed err = ckb_pipe(fds); CHECK(err); err = ckb_close(fds[CKB_STDOUT]); diff --git a/util/app-config/src/configs/indexer.rs b/util/app-config/src/configs/indexer.rs index 1f44a68aa6..0406efd455 100644 --- a/util/app-config/src/configs/indexer.rs +++ b/util/app-config/src/configs/indexer.rs @@ -35,7 +35,7 @@ pub struct IndexerConfig { /// The init tip block hash #[serde(default)] pub init_tip_hash: Option, - /// limit of indexer reqeust + /// limit of indexer request #[serde(default)] pub request_limit: Option, /// Rich indexer config options diff --git a/util/fee-estimator/src/estimator/weight_units_flow.rs b/util/fee-estimator/src/estimator/weight_units_flow.rs index a834d5a9b0..6349165c5d 100644 --- a/util/fee-estimator/src/estimator/weight_units_flow.rs +++ b/util/fee-estimator/src/estimator/weight_units_flow.rs @@ -36,7 +36,7 @@ //! - New transactions entering the mempool. //! //! While it's impossible to predict sudden changes to the speed at which new -//! weight is added to the mempool, for simplicty's sake we're going to assume +//! weight is added to the mempool, for simplicity's sake we're going to assume //! the flow we measured remains constant: `added_weight = flow * blocks`. //! //! - Transactions leaving the mempool due to mined blocks. Each block removes