io: fix spelling in documentation for writerFunc

Change-Id: I9f55188859944e1b2b140d3547bcfcb335c5ff50
Reviewed-on: https://go-review.googlesource.com/c/go/+/351370
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Robert Griesemer <gri@golang.org>
This commit is contained in:
jiahua wang 2021-09-22 09:50:32 +08:00 committed by Robert Griesemer
parent 085c609a70
commit 051df0d722
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ func testMultiWriter(t *testing.T, sink interface {
}
}
// writerFunc is an Writer implemented by the underlying func.
// writerFunc is a Writer implemented by the underlying func.
type writerFunc func(p []byte) (int, error)
func (f writerFunc) Write(p []byte) (int, error) {