mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg
R=r, gri CC=golang-dev https://golang.org/cl/156115
This commit is contained in:
parent
aa4c638b7b
commit
9ac4449cb2
118 changed files with 308 additions and 308 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue