summaryrefslogtreecommitdiff
path: root/vendor/github.com/bytedance/sonic/utf8/utf8.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/bytedance/sonic/utf8/utf8.go')
-rw-r--r--vendor/github.com/bytedance/sonic/utf8/utf8.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/bytedance/sonic/utf8/utf8.go b/vendor/github.com/bytedance/sonic/utf8/utf8.go
index 9d8bcc958..c1403fdb2 100644
--- a/vendor/github.com/bytedance/sonic/utf8/utf8.go
+++ b/vendor/github.com/bytedance/sonic/utf8/utf8.go
@@ -62,7 +62,7 @@ func CorrectWith(dst []byte, src []byte, repl string) []byte {
return dst
}
-// Validate is a simd-accelereated drop-in replacement for the standard library's utf8.Valid.
+// Validate is a simd-accelerated drop-in replacement for the standard library's utf8.Valid.
func Validate(src []byte) bool {
if src == nil {
return true