Explorar o código

grow buffer doc clarification

Julien Schmidt %!s(int64=12) %!d(string=hai) anos
pai
achega
f3fa1f436d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {