瀏覽代碼

grow buffer doc clarification

Julien Schmidt 12 年之前
父節點
當前提交
f3fa1f436d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {