Browse Source

grow buffer doc clarification

Julien Schmidt 13 năm trước cách đây
mục cha
commit
f3fa1f436d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {