Reformat x:y as x: y

This commit is contained in:
Nigel Tao committed 2019-10-12 21:21:39 +11:00
1 parent a9ea63ff06
commit 5b4e3647c0
12 files changed
+195 -196

No files matched your search

+3 -3
View File
@@ -32,8 +32,8 @@ pub func hasher.update!(x slice base.u8) base.u32 {
this.state = 1
}
s1 = this.state.low_bits(n:16)
s2 = this.state.high_bits(n:16)
s1 = this.state.low_bits(n: 16)
s2 = this.state.high_bits(n: 16)
while args.x.length() > 0 {
remaining = args.x[.. 0]
@@ -42,7 +42,7 @@ pub func hasher.update!(x slice base.u8) base.u32 {
args.x = args.x[.. 5552]
}
iterate (p = args.x)(length:1, unroll:8) {
iterate (p = args.x)(length: 1, unroll: 8) {
s1 ~mod+= p[0] as base.u32
s2 ~mod+= s1
}