From: jiahua wang Date: Wed, 22 Sep 2021 01:50:32 +0000 (+0800) Subject: io: fix spelling in documentation for writerFunc X-Git-Tag: go1.18beta1~1251 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=051df0d722fd2ec4473f2ac0ae868a3487927d68;p=gostls13.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 Trust: Robert Griesemer --- diff --git a/src/io/multi_test.go b/src/io/multi_test.go index 909b6d8be2..c3a44fd3b2 100644 --- a/src/io/multi_test.go +++ b/src/io/multi_test.go @@ -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) {