Skip to content

Commit f3fa1f4

Browse files
committed
grow buffer doc clarification
1 parent 7ac8bc9 commit f3fa1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buffer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func (b *buffer) fill(need int) (err error) {
5555
return
5656
}
5757

58-
// grow the buffer to the given size
58+
// grow the buffer to at least the given size
5959
// credit for this code snippet goes to Maxim Khitrov
6060
// https://groups.google.com/forum/#!topic/golang-nuts/ETbw1ECDgRs
6161
func (b *buffer) grow(size int) {

0 commit comments

Comments
 (0)