Skip to content

Commit

Permalink
grow buffer doc clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
julienschmidt committed Apr 24, 2013
1 parent 7ac8bc9 commit f3fa1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (b *buffer) fill(need int) (err error) {
return
}

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

0 comments on commit f3fa1f4

Please sign in to comment.