diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2015-04-03 17:45:54 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2015-04-04 02:00:51 +0000 |
| commit | 5242d2cef42c890f94194c65e0f19761bae813b2 (patch) | |
| tree | e1a046b2fc8e80d18f688f3a640f6e99b18a76c4 /src/bytes/buffer.go | |
| parent | 23810777867d0a7df1ef149ec6ed4135ce07fb01 (diff) | |
| download | go-5242d2cef42c890f94194c65e0f19761bae813b2.tar.xz | |
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>
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. |
