diff options
author | John Bampton <jbampton@gmail.com> | 2021-03-13 11:25:15 +0000 |
---|---|---|
committer | Emmanuel Odeke <emmanuel@orijtech.com> | 2021-03-13 11:56:59 +0000 |
commit | 289d34a465d46e5c5c07034f5d54afbfda06f5b9 (patch) | |
tree | 97aec5ba5660c49e50e6b1df2bd46db0770a5699 /src/bytes | |
parent | b3235b75d109f06eec0d3603c606b2d8373b9d4c (diff) | |
download | go-289d34a465d46e5c5c07034f5d54afbfda06f5b9.tar.gz go-289d34a465d46e5c5c07034f5d54afbfda06f5b9.zip |
all: remove duplicate words
Change-Id: Ib0469232a2b69a869e58d5d24990ad74ac96ea56
GitHub-Last-Rev: eb38e049ee1e773392ff3747e1eb2af20dd50dcd
GitHub-Pull-Request: golang/go#44805
Reviewed-on: https://go-review.googlesource.com/c/go/+/299109
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.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 549b077708..01764c694e 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 read zero +// the last read, if the last read returned an error, or if the read reads zero // bytes, UnreadByte returns an error. func (b *Buffer) UnreadByte() error { if b.lastRead == opInvalid { |