mirror of https://github.com/golang/go.git
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:
parent
085c609a70
commit
051df0d722
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue