Skip to content

Commit

Permalink
io: fix spelling in documentation for writerFunc
Browse files Browse the repository at this point in the history
Change-Id: I9f55188859944e1b2b140d3547bcfcb335c5ff50
Reviewed-on: https://go-review.googlesource.com/c/go/+/351370
Reviewed-by: Ian Lance Taylor <[email protected]>
Trust: Robert Griesemer <[email protected]>
  • Loading branch information
180909 authored and griesemer committed Sep 22, 2021
1 parent 085c609 commit 051df0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/multi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 051df0d

Please sign in to comment.