utf8: fix typo in utf8_util.v (#13624)

pull/13629/head
Ikko Ashimine 2022-03-02 02:06:48 +09:00 committed by GitHub
parent fd91811fe2
commit aa633dab41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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{}