From a26c6904be14bbaf7836906ad7533557ac8fc9fd Mon Sep 17 00:00:00 2001 From: guangwu Date: Sat, 26 Aug 2023 12:01:29 +0800 Subject: [PATCH] fix: already typo 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() }