From: Ian Lance Taylor Date: Mon, 15 Mar 2021 17:03:30 +0000 (-0700) Subject: bytes: correct tense in comment X-Git-Tag: go1.17beta1~1130 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8ac6544564be04ed1c0bbf7831ad0f8ed1f067ed;p=gostls13.git 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 --- 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 {