From e6aebd619a7278545b11188a0e21babea6b94182 Mon Sep 17 00:00:00 2001 From: guangwu Date: Tue, 29 Aug 2023 00:43:09 +0800 Subject: [PATCH] fix: already typo (#303) Signed-off-by: guoguangwu --- internal/stringbuffer/wstring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/stringbuffer/wstring.go b/internal/stringbuffer/wstring.go index 7ad50570..42ebc019 100644 --- a/internal/stringbuffer/wstring.go +++ b/internal/stringbuffer/wstring.go @@ -62,7 +62,7 @@ func (b *WString) Free() { // ResizeTo grows the buffer to at least c and returns the new capacity, freeing the // previous buffer back into pool. func (b *WString) ResizeTo(c uint32) uint32 { - // allready sufficient (or n is 0) + // already sufficient (or n is 0) if c <= b.Cap() { return b.Cap() }