1
0
mirror of https://github.com/golang/go synced 2024-11-23 08:40:08 -07:00

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.
This commit is contained in:
Simão Gomes Viana 2021-03-23 22:01:39 +01:00 committed by Simão Gomes Viana
parent 2887ef499a
commit e3257ca272

View File

@ -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{}