diff options
| author | Russ Cox <rsc@golang.org> | 2009-11-20 11:45:05 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-11-20 11:45:05 -0800 |
| commit | 9ac4449cb2bf8fa1fc414a9cbc67c5a46af8ea51 (patch) | |
| tree | 41ba750b1ae6464558f8f8bb4871c5233f35924b /src/pkg/patch/git.go | |
| parent | aa4c638b7baf1f3a0e0fd3ab10bd7c8de74869b9 (diff) | |
| download | go-9ac4449cb2bf8fa1fc414a9cbc67c5a46af8ea51.tar.xz | |
gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg
R=r, gri
CC=golang-dev
https://golang.org/cl/156115
Diffstat (limited to 'src/pkg/patch/git.go')
| -rw-r--r-- | src/pkg/patch/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/patch/git.go b/src/pkg/patch/git.go index 63bf2cd74f..7fae216c4e 100644 --- a/src/pkg/patch/git.go +++ b/src/pkg/patch/git.go @@ -63,7 +63,7 @@ func getHex(s []byte) (data []byte, rest []byte) { for i := range data { data[i] = unhex(s[2*i])<<4 | unhex(s[2*i+1]) } - rest = s[n:len(s)]; + rest = s[n:]; return; } |
