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)]