From 8ac6544564be04ed1c0bbf7831ad0f8ed1f067ed Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 15 Mar 2021 10:03:30 -0700 Subject: [PATCH] bytes: correct tense in comment Undo incorrect change accidentally made in CL 299109. Change-Id: Iba29827d0fbd3637c311cebc50c2f4ea437fc582 Reviewed-on: https://go-review.googlesource.com/c/go/+/301830 Trust: Ian Lance Taylor Reviewed-by: Tobias Klauser --- src/bytes/buffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bytes/buffer.go b/src/bytes/buffer.go index 01764c694e..549b077708 100644 --- a/src/bytes/buffer.go +++ b/src/bytes/buffer.go @@ -387,7 +387,7 @@ var errUnreadByte = errors.New("bytes.Buffer: UnreadByte: previous operation was // UnreadByte unreads the last byte returned by the most recent successful // read operation that read at least one byte. If a write has happened since -// the last read, if the last read returned an error, or if the read reads zero +// the last read, if the last read returned an error, or if the read read zero // bytes, UnreadByte returns an error. func (b *Buffer) UnreadByte() error { if b.lastRead == opInvalid {