mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-06 03:53:50 +08:00
typo
This commit is contained in:
parent
63e1508815
commit
ee3580039b
@ -11,7 +11,7 @@ var bufferPool = sync.Pool{
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewBuffer 从池钟获取新 bytes.Buffer
|
// NewBuffer 从池中获取新 bytes.Buffer
|
||||||
func NewBuffer() *bytes.Buffer {
|
func NewBuffer() *bytes.Buffer {
|
||||||
return bufferPool.Get().(*bytes.Buffer)
|
return bufferPool.Get().(*bytes.Buffer)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user