Rename [i:j] to [i .. j], the same as Rust

This commit is contained in:
Nigel Tao committed 2019-10-12 21:14:18 +11:00
1 parent 7872a8893b
commit a9ea63ff06
16 files changed
+55 -50

No files matched your search

+3 -3
View File
@@ -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) {