Skip to content

Commit

Permalink
Make a cosmetic adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Apr 28, 2024
1 parent 98460c0 commit fea6ebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ fn consume(
length: &mut u64,
data: &[u8],
) {
for chunk in data {
buffer[*cursor] = *chunk;
for value in data {
buffer[*cursor] = *value;
*cursor += 1;
if *cursor == 64 {
transform(state, buffer);
Expand Down

0 comments on commit fea6ebc

Please sign in to comment.