From: Simão Gomes Viana Date: Tue, 23 Mar 2021 21:50:41 +0000 (+0000) Subject: io: fix spelling in documentation for io.Discard X-Git-Tag: go1.17beta1~1010 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dc289d3dcb59f80b9e23c7e8f237628359d21d92;p=gostls13.git io: fix spelling in documentation for io.Discard In the process of refactoring ioutil.Discard to io.Discard in CL 263141 "an" should have been changed to "a" but was likely missed in the process. This commit corrects the spelling of the documentation. Change-Id: I0609c45878291f8f01560efc3f3e6fba191e095b GitHub-Last-Rev: e3257ca272dff42ed7d07b6e6a5fc49493772653 GitHub-Pull-Request: golang/go#45190 Reviewed-on: https://go-review.googlesource.com/c/go/+/304209 Reviewed-by: Ian Lance Taylor Reviewed-by: Robert Griesemer Trust: Robert Griesemer --- diff --git a/src/io/io.go b/src/io/io.go index ffd3cedc25..2724321ed9 100644 --- a/src/io/io.go +++ b/src/io/io.go @@ -566,7 +566,7 @@ func (t *teeReader) Read(p []byte) (n int, err error) { return } -// Discard is an Writer on which all Write calls succeed +// Discard is a Writer on which all Write calls succeed // without doing anything. var Discard Writer = discard{}