Skip to content

Commit 0cb5709

Browse files
committed
hunspell unhappy
1 parent f552de1 commit 0cb5709

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sdk/pinocchio/src/sysvars/slot_hashes/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ impl SlotHashes<Box<[u8]>> {
310310
// SAFETY: `buf` was allocated with capacity `MAX_SIZE` so its
311311
// pointer is valid for exactly that many bytes. `fill_from_sysvar`
312312
// writes `MAX_SIZE` bytes, and we immediately set the length to
313-
// `MAX_SIZE`, marking the entire buffer as initialised before it is
313+
// `MAX_SIZE`, marking the entire buffer as initialized before it is
314314
// turned into a boxed slice.
315315
Self::fill_from_sysvar(buf.as_mut_ptr())?;
316316
buf.set_len(MAX_SIZE);

sdk/pinocchio/src/sysvars/slot_hashes/test_std.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ fn test_from_account_info_constructor() {
8383
/// allocates a MAX_SIZE-sized buffer without panicking.
8484
///
8585
/// On non-Solana targets the underlying syscall is stubbed; the returned buffer
86-
/// is zero-initialised and contains zero entries. We overwrite
86+
/// is zero-initialized and contains zero entries. We overwrite
8787
/// that buffer with deterministic fixture data and then exercise the normal
8888
/// `SlotHashes` getters to make sure the view itself works. We do not verify
8989
/// that the syscall populated real on-chain bytes, as doing so requires an

sdk/pinocchio/src/sysvars/slot_hashes/test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub fn create_mock_data(entries: &[(u64, [u8; HASH_BYTES])]) -> Vec<u8> {
104104
build_slot_hashes_bytes(entries.len() as u64, entries)
105105
}
106106

107-
/// Allocate a heap-backed `AccountInfo` whose data region is initialised with
107+
/// Allocate a heap-backed `AccountInfo` whose data region is initialized with
108108
/// `data` and whose key is `key`.
109109
///
110110
/// The function also returns the backing `Vec<u64>` so the caller can keep it

0 commit comments

Comments
 (0)