diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-03-15 10:03:30 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-03-15 17:37:09 +0000 |
commit | 8ac6544564be04ed1c0bbf7831ad0f8ed1f067ed (patch) | |
tree | 7f020a4220e959fd37ee5d3f71ca3b458dcd144d /src/bytes | |
parent | 0f4bb9627ebc27d4e669e41d7f58396e063abb70 (diff) | |
download | go-8ac6544564be04ed1c0bbf7831ad0f8ed1f067ed.tar.gz go-8ac6544564be04ed1c0bbf7831ad0f8ed1f067ed.zip |
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 <iant@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/bytes')
-rw-r--r-- | src/bytes/buffer.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |