diff options
author | Simão Gomes Viana <simaogmv@gmail.com> | 2021-03-23 21:50:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-03-23 22:17:52 +0000 |
commit | dc289d3dcb59f80b9e23c7e8f237628359d21d92 (patch) | |
tree | dd3f90cad5f2914b6ecd18aa03469d1dcb6c70d0 /src/io | |
parent | 2887ef499a0e01a3b6fe92bf874843f9f2d05167 (diff) | |
download | go-dc289d3dcb59f80b9e23c7e8f237628359d21d92.tar.gz go-dc289d3dcb59f80b9e23c7e8f237628359d21d92.zip |
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 <iant@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/io')
-rw-r--r-- | src/io/io.go | 2 |
1 files changed, 1 insertions, 1 deletions
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{} |