From aa633dab413d7991305192a8c0a2726f83fabd86 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Wed, 2 Mar 2022 02:06:48 +0900 Subject: [PATCH] utf8: fix typo in utf8_util.v (#13624) --- vlib/encoding/utf8/utf8_util.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/encoding/utf8/utf8_util.v b/vlib/encoding/utf8/utf8_util.v index f102deec32..e406f37224 100644 --- a/vlib/encoding/utf8/utf8_util.v +++ b/vlib/encoding/utf8/utf8_util.v @@ -72,7 +72,7 @@ pub fn get_uchar(s string, index int) int { return res } -// raw_index - get the raw chracter from the string by the given index value. +// raw_index - get the raw character from the string by the given index value. // example: utf8.raw_index('我是V Lang', 1) => '是' pub fn raw_index(s string, index int) string { mut r := []rune{}