crypto.sha3: remove unnecessary return at the end of the write function (#21669)

This commit is contained in:
Kim Shrier 2024-06-12 01:29:13 -06:00 committed by GitHub
parent 47e93d1c39
commit 7d182a469e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.