Fix typo (#6)

This commit is contained in:
Albert
2016-07-02 00:46:08 +05:00
committed by Aliaksandr Valialkin
parent 21a4b21155
commit a517d2d153
+1 -1
View File
@@ -63,7 +63,7 @@ func Put(b *ByteBuffer) { defaultPool.Put(b) }
// Put releases byte buffer obtained via Get to the pool.
//
// The bufer mustn't be accessed after returning to the pool.
// The buffer mustn't be accessed after returning to the pool.
func (p *Pool) Put(b *ByteBuffer) {
idx := index(len(b.B))