compiler/vlib: replace substr/left/right with [start..end] everywhere

This commit is contained in:
joe-conigliaro 2019-10-27 18:03:15 +11:00 committed by Alexander Medvednikov
parent ed55826686
commit 59378dce46
49 changed files with 308 additions and 306 deletions

View file

@ -160,7 +160,7 @@ fn block_generic(dig mut Digest, p_ []byte) {
if Chunk >= p.len {
p = []byte
} else {
p = p.right(Chunk)
p = p[Chunk..]
}
}