diff options
author | Russ Cox <rsc@golang.org> | 2022-05-18 16:46:20 -0400 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-05-19 15:49:05 +0000 |
commit | 946b4baaf6521d521928500b2b57429c149854e7 (patch) | |
tree | 4acad539bb1fb52aab5112fb664365ea003c8dd4 /src/io | |
parent | e23cc0844d542688c0956900206fca7c602593c5 (diff) | |
download | go-git-946b4baaf6521d521928500b2b57429c149854e7.tar.gz |
all: gofmt main repo
Excluding vendor and testdata.
CL 384268 already reformatted most, but these slipped past.
The struct in the doc comment in debug/dwarf/type.go
was fixed up by hand to indent the first and last lines as well.
For #51082.
Change-Id: Iad020f83aafd671ff58238fe491907e85923d0c7
Reviewed-on: https://go-review.googlesource.com/c/go/+/407137
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/io')
-rw-r--r-- | src/io/multi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/multi.go b/src/io/multi.go index 909b7e4523..07a9afffda 100644 --- a/src/io/multi.go +++ b/src/io/multi.go @@ -42,7 +42,7 @@ func (mr *multiReader) Read(p []byte) (n int, err error) { } func (mr *multiReader) WriteTo(w Writer) (sum int64, err error) { - return mr.writeToWithBuffer(w, make([]byte, 1024 * 32)) + return mr.writeToWithBuffer(w, make([]byte, 1024*32)) } func (mr *multiReader) writeToWithBuffer(w Writer, buf []byte) (sum int64, err error) { |