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 | c861f30835090bbd6b9b35a80667f26952843767 (patch) | |
tree | 645bd57ef3c9326ec02e646a751b9075d12a79e7 /src/pkg/patch/git.go | |
parent | 7089e97992d5d6be520dfea787200061992526c8 (diff) | |
download | golang-c861f30835090bbd6b9b35a80667f26952843767.tar.gz |
gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg
R=r, gri
CC=golang-dev
http://codereview.appspot.com/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 63bf2cd74..7fae216c4 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; } |