mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
bytes: fix comment
The the has been deleted. Change-Id: I4290105435d4f1fd10c7014f913a3147ddeb3c2b Reviewed-on: https://go-review.googlesource.com/8469 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
2381077786
commit
5242d2cef4
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue