]> Cypherpunks repositories - gostls13.git/commitdiff
bytes: fix comment
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 4 Apr 2015 00:45:54 +0000 (17:45 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sat, 4 Apr 2015 02:00:51 +0000 (02:00 +0000)
The the has been deleted.

Change-Id: I4290105435d4f1fd10c7014f913a3147ddeb3c2b
Reviewed-on: https://go-review.googlesource.com/8469
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/bytes/buffer.go

index 7f9139bca8472c8ea011819b145519317b8ab92e..4db93867d9aa890faed03430b8d9116714e4c9ea 100644 (file)
@@ -57,7 +57,7 @@ func (b *Buffer) String() string {
 func (b *Buffer) Len() int { return len(b.buf) - b.off }
 
 // Cap returns the capacity of the buffer's underlying byte slice, that is, the
-// total space allocated for the the buffer's data.
+// total space allocated for the buffer's data.
 func (b *Buffer) Cap() int { return cap(b.buf) }
 
 // Truncate discards all but the first n unread bytes from the buffer.