gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg

R=r, gri
CC=golang-dev
https://golang.org/cl/156115
This commit is contained in:
Russ Cox 2009-11-20 11:45:05 -08:00
parent aa4c638b7b
commit 9ac4449cb2
118 changed files with 308 additions and 308 deletions

View file

@ -17,7 +17,7 @@ func str(val int) string { // do it here rather than with fmt to avoid dependenc
val /= 10;
}
buf[i] = byte(val + '0');
return string(buf[i:len(buf)]);
return string(buf[i:]);
}
func Errstr(errno int) string {