Skip to content

Commit

Permalink
chore: fix typos (#4020)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxianBoy authored Apr 3, 2024
1 parent 216781c commit de5027c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commons/forkable-jellyfish-merkle/src/node_type/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! and [`LeafNode`] as building blocks of a 256-bit
//! [`JellyfishMerkleTree`](crate::JellyfishMerkleTree). [`InternalNode`] represents a 4-level
//! binary tree to optimize for IOPS: it compresses a tree with 31 nodes into one node with 16
//! chidren at the lowest level. [`LeafNode`] stores the full key and the account blob data
//! children at the lowest level. [`LeafNode`] stores the full key and the account blob data
//! associated.
#![allow(clippy::unit_arg)]

Expand Down
2 changes: 1 addition & 1 deletion commons/metrics/src/op_counters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use std::time::Duration;

/// A small wrapper around Histogram to handle the special case
/// of duration buckets.
/// This Histogram will handle the correct granularty for logging
/// This Histogram will handle the correct granularity for logging
/// time duration in a way that fits the used buckets.
pub struct DurationHistogram {
histogram: Histogram,
Expand Down
2 changes: 1 addition & 1 deletion vm/parallel-executor/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ impl Scheduler {
}

/// Grab an index to try and validate next (by fetch-and-incrementing validation_idx).
/// - If the index is out of bounds, return None (and invoke a check of whethre
/// - If the index is out of bounds, return None (and invoke a check of whether
/// all txns can be committed).
/// - If the transaction is ready for validation (EXECUTED state), return the version
/// to the caller together with a guard to be used for the corresponding ValidationTask.
Expand Down

0 comments on commit de5027c

Please sign in to comment.