Skip to content

Commit c5df33d

Browse files
authored
Merge pull request #149 from orisano/patch-1
fix: use initialBufSize
2 parents bcb74de + 51f083c commit c5df33d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expfmt/text_create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const (
4343
var (
4444
bufPool = sync.Pool{
4545
New: func() interface{} {
46-
return bytes.NewBuffer(make([]byte, 0, initialNumBufSize))
46+
return bytes.NewBuffer(make([]byte, 0, initialBufSize))
4747
},
4848
}
4949
numBufPool = sync.Pool{

0 commit comments

Comments
 (0)