mirror of
https://github.com/golang/go.git
synced 2026-04-03 09:49:56 +09: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:
committed by
Simão Gomes Viana
parent
2887ef499a
commit
e3257ca272
@@ -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{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user