From c861f30835090bbd6b9b35a80667f26952843767 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 20 Nov 2009 11:45:05 -0800 Subject: gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit R=r, gri CC=golang-dev http://codereview.appspot.com/156115 --- src/pkg/patch/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pkg/patch/git.go') 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; } -- cgit v1.2.3