Skip to content

Commit

Permalink
fix: already typo (#303)
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <[email protected]>
  • Loading branch information
testwill authored Aug 28, 2023
1 parent eb5b095 commit e6aebd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/stringbuffer/wstring.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit e6aebd6

Please sign in to comment.