Skip to content

Commit

Permalink
crypto.sha3: remove unnecessary return at the end of the write functi…
Browse files Browse the repository at this point in the history
…on (#21669)
  • Loading branch information
kimshrier authored Jun 12, 2024
1 parent 47e93d1 commit 7d182a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vlib/crypto/sha3/sha3.v
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@ pub fn (mut d Digest) write(data []u8) ! {
if bytes_remaining.len > 0 {
d.input_buffer = bytes_remaining
}

return
}

// checksum finalizes the hash and returns the generated bytes.
Expand Down

0 comments on commit 7d182a4

Please sign in to comment.