mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Rename [i:j] to [i .. j], the same as Rust
This commit is contained in:
1 parent
7872a8893b
commit
a9ea63ff06
16 files changed
+55
-50
No files matched your search
@@ -36,10 +36,10 @@ pub func hasher.update!(x slice base.u8) base.u32 {
|
||||
s2 = this.state.high_bits(n:16)
|
||||
|
||||
while args.x.length() > 0 {
|
||||
remaining = args.x[:0]
|
||||
remaining = args.x[.. 0]
|
||||
if args.x.length() > 5552 {
|
||||
remaining = args.x[5552:]
|
||||
args.x = args.x[:5552]
|
||||
remaining = args.x[5552 ..]
|
||||
args.x = args.x[.. 5552]
|
||||
}
|
||||
|
||||
iterate (p = args.x)(length:1, unroll:8) {
|
||||
|
||||
Reference in new issue
Block a user