mirror of
https://github.com/valyala/bytebufferpool.git
synced 2026-06-18 14:06:35 +03:00
Fix typo (#6)
This commit is contained in:
committed by
Aliaksandr Valialkin
parent
21a4b21155
commit
a517d2d153
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user