From 289d34a465d46e5c5c07034f5d54afbfda06f5b9 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sat, 13 Mar 2021 11:25:15 +0000 Subject: 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 Run-TryBot: Emmanuel Odeke TryBot-Result: Go Bot Reviewed-by: Bryan C. Mills --- src/bytes/buffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bytes') 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 { -- cgit v1.3-5-g9baa