diff options
Diffstat (limited to 'src/bytes/buffer.go')
| -rw-r--r-- | src/bytes/buffer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytes/buffer.go b/src/bytes/buffer.go index 7f9139bca8..4db93867d9 100644 --- a/src/bytes/buffer.go +++ b/src/bytes/buffer.go @@ -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. |
