]> Cypherpunks repositories - gostls13.git/commitdiff
io: fix spelling in documentation for writerFunc
authorjiahua wang <wjh180909@gmail.com>
Wed, 22 Sep 2021 01:50:32 +0000 (09:50 +0800)
committerRobert Griesemer <gri@golang.org>
Wed, 22 Sep 2021 03:45:00 +0000 (03:45 +0000)
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>

src/io/multi_test.go

index 909b6d8be283920861f5fe0430d5c77c2ea15277..c3a44fd3b2e5ec6ae903fb509c77220f27eec3f2 100644 (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) {