From c8716e591a8d5f56bc9164d583e96da5c393cd12 Mon Sep 17 00:00:00 2001 From: CharlesFeng <15927183449@sina.cn> Date: Tue, 6 Aug 2024 23:53:14 +0800 Subject: [PATCH] mem: fix comment typo (#7482) --- mem/buffer_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mem/buffer_pool.go b/mem/buffer_pool.go index d2e8cd448..07c7e1ed3 100644 --- a/mem/buffer_pool.go +++ b/mem/buffer_pool.go @@ -156,7 +156,7 @@ func (p *simpleBufferPool) Get(size int) []byte { return (*bs)[:size] } - // A buffer was pulled from the pool, but it is tool small. Put it back in + // A buffer was pulled from the pool, but it is too small. Put it back in // the pool and create one large enough. if ok { p.pool.Put(bs)