From 9d6837c9042e413de1d2b3c6f6e96936672f77ee Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" <75863576+jeffwashington@users.noreply.github.com> Date: Mon, 17 May 2021 14:06:25 -0500 Subject: [PATCH] fix comment (#17286) --- runtime/src/bank.rs | 2 +- runtime/src/serde_snapshot/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index f932d09e0f..807a780dc5 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -629,7 +629,7 @@ pub(crate) struct BankFieldsToDeserialize { // Bank's common fields shared by all supported snapshot versions for serialization. // This is separated from BankFieldsToDeserialize to avoid cloning by using refs. // So, sync fields with BankFieldsToDeserialize! -// all members are made public to remain Bank private and to make versioned serializer workable on this +// all members are made public to keep Bank private and to make versioned serializer workable on this #[derive(Debug)] pub(crate) struct BankFieldsToSerialize<'a> { pub(crate) blockhash_queue: &'a RwLock, diff --git a/runtime/src/serde_snapshot/tests.rs b/runtime/src/serde_snapshot/tests.rs index 95160daeea..f0604302db 100644 --- a/runtime/src/serde_snapshot/tests.rs +++ b/runtime/src/serde_snapshot/tests.rs @@ -286,7 +286,7 @@ fn test_bank_serialize_newer() { mod test_bank_serialize { use super::*; - // These some what long test harness is required to freeze the ABI of + // This some what long test harness is required to freeze the ABI of // Bank's serialization due to versioned nature #[frozen_abi(digest = "DuRGntVwLGNAv5KooafUSpxk67BPAx2yC7Z8A9c8wr2G")] #[derive(Serialize, AbiExample)]