From e3257ca272dff42ed7d07b6e6a5fc49493772653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=A3o=20Gomes=20Viana?= Date: Tue, 23 Mar 2021 22:01:39 +0100 Subject: [PATCH] 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. --- src/io/io.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{}