From 7b4495c041a71c5f008e0792ed8fb5e53e074965 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 14 Jan 2011 23:00:02 -0800 Subject: [PATCH] bytes.Buffer: fix typo in comment (doubled 'to') R=ken2 CC=golang-dev https://golang.org/cl/4035041 --- src/pkg/bytes/buffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/bytes/buffer.go b/src/pkg/bytes/buffer.go index 2574b4f432..62cf82810e 100644 --- a/src/pkg/bytes/buffer.go +++ b/src/pkg/bytes/buffer.go @@ -303,7 +303,7 @@ func (b *Buffer) UnreadByte() os.Error { // NewBuffer creates and initializes a new Buffer using buf as its initial // contents. It is intended to prepare a Buffer to read existing data. It -// can also be used to to size the internal buffer for writing. To do that, +// can also be used to size the internal buffer for writing. To do that, // buf should have the desired capacity but a length of zero. func NewBuffer(buf []byte) *Buffer { return &Buffer{buf: buf} } -- 2.50.0