From 2f0cb3e80f3d93a1dee77fffacc397811e300257 Mon Sep 17 00:00:00 2001 From: Akosh Farkash Date: Thu, 24 Oct 2024 10:46:30 +0100 Subject: [PATCH] Typos --- noir_stdlib/src/hash/sha256.nr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noir_stdlib/src/hash/sha256.nr b/noir_stdlib/src/hash/sha256.nr index 9274fb3c264..0012fa19edb 100644 --- a/noir_stdlib/src/hash/sha256.nr +++ b/noir_stdlib/src/hash/sha256.nr @@ -29,7 +29,7 @@ type INT_BLOCK = [u32; INT_BLOCK_SIZE]; type INT_FIELD = u32; // A message block is a slice of the original message of a fixed size, -// potentially padded with zeroes, with neigbouring 4 bytes packed into integers. +// potentially padded with zeroes, with neighbouring 4 bytes packed into integers. type MSG_BLOCK = INT_BLOCK; // The hash is 32 bytes. @@ -220,7 +220,7 @@ fn verify_msg_block( // Reconstructed packed field. let mut msg_field: u32 = 0; - // Inclusive the end so that we can compare the last item. + // Inclusive at the end so that we can compare the last item. let mut i: u32 = 0; for k in msg_start..=msg_end { if k % INT_SIZE == 0 {