From: Rob Pike Date: Sat, 15 Jan 2011 07:00:02 +0000 (-0800) Subject: bytes.Buffer: fix typo in comment (doubled 'to') X-Git-Tag: weekly.2011-01-19~55 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7b4495c041a71c5f008e0792ed8fb5e53e074965;p=gostls13.git bytes.Buffer: fix typo in comment (doubled 'to') R=ken2 CC=golang-dev https://golang.org/cl/4035041 --- 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} }