From dcc6f1eb3acd170aac319f301ef9bae92c9f32ad Mon Sep 17 00:00:00 2001 From: HaoranYi Date: Fri, 15 Mar 2024 09:15:23 -0500 Subject: [PATCH] fix typos (#247) Co-authored-by: HaoranYi --- accounts-db/src/tiered_storage/hot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts-db/src/tiered_storage/hot.rs b/accounts-db/src/tiered_storage/hot.rs index 5448c9b0f8a5ee..0e1ce6bf9a5a8e 100644 --- a/accounts-db/src/tiered_storage/hot.rs +++ b/accounts-db/src/tiered_storage/hot.rs @@ -58,7 +58,7 @@ const MAX_HOT_OWNER_OFFSET: OwnerOffset = OwnerOffset((1 << 29) - 1); /// bytes in HotAccountOffset. pub(crate) const HOT_ACCOUNT_ALIGNMENT: usize = 8; -/// The alignemnt for the blocks inside a hot accounts file. A hot accounts +/// The alignment for the blocks inside a hot accounts file. A hot accounts /// file consists of accounts block, index block, owners block, and footer. /// This requirement allows the offset of each block properly aligned so /// that they can be readable under mmap. @@ -190,7 +190,7 @@ impl TieredAccountMeta for HotAccountMeta { /// A builder function that initializes the account data size. fn with_account_data_size(self, _account_data_size: u64) -> Self { // Hot meta does not store its data size as it derives its data length - // by comparing the offets of two consecutive account meta entries. + // by comparing the offsets of two consecutive account meta entries. self }