We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f4bb96 commit 8ac6544Copy full SHA for 8ac6544
src/bytes/buffer.go
@@ -387,7 +387,7 @@ var errUnreadByte = errors.New("bytes.Buffer: UnreadByte: previous operation was
387
388
// UnreadByte unreads the last byte returned by the most recent successful
389
// 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
+// the last read, if the last read returned an error, or if the read read zero
391
// bytes, UnreadByte returns an error.
392
func (b *Buffer) UnreadByte() error {
393
if b.lastRead == opInvalid {
0 commit comments