Change func out-type from struct to bare type

This commit is contained in:
Nigel Tao committed 2018-07-29 10:02:06 +10:00
1 parent af7b15bc17
commit 9919d78245
19 files changed
+236 -239

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ pub struct hasher?(
started base.bool,
)
pub func hasher.update!(x slice base.u8)(checksum base.u32) {
pub func hasher.update!(x slice base.u8) base.u32 {
// The Adler-32 checksum's magic 65521 and 5552 numbers are discussed in
// RFC 1950.