mirror of
https://github.com/golang/go
synced 2024-11-23 06:20:07 -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:
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{}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user