Browse Source

grow buffer doc clarification

Julien Schmidt 12 years ago
parent
commit
f3fa1f436d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      buffer.go

+ 1 - 1
buffer.go

@@ -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) {