mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 08:47:56 +01:00
Rename x T to x: T for fields and func args
This commit is contained in:
1 parent
5b4e3647c0
commit
1520a1f345
15 files changed
+226
-216
No files matched your search
@@ -14,11 +14,11 @@
|
||||
|
||||
// TODO: drop the '?' but still generate wuffs_adler32__hasher__initialize?
|
||||
pub struct hasher?(
|
||||
state base.u32,
|
||||
started base.bool,
|
||||
state : base.u32,
|
||||
started : base.bool,
|
||||
)
|
||||
|
||||
pub func hasher.update!(x slice base.u8) 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
|
||||
// this package's README.md.
|
||||
|
||||
|
||||
Reference in new issue
Block a user