Skip to content

Commit 8ac6544

Browse files
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 <[email protected]> Reviewed-by: Tobias Klauser <[email protected]>
1 parent 0f4bb96 commit 8ac6544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bytes/buffer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ var errUnreadByte = errors.New("bytes.Buffer: UnreadByte: previous operation was
387387

388388
// UnreadByte unreads the last byte returned by the most recent successful
389389
// read operation that read at least one byte. If a write has happened since
390-
// the last read, if the last read returned an error, or if the read reads zero
390+
// the last read, if the last read returned an error, or if the read read zero
391391
// bytes, UnreadByte returns an error.
392392
func (b *Buffer) UnreadByte() error {
393393
if b.lastRead == opInvalid {

0 commit comments

Comments
 (0)