mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: byte => u8
This commit is contained in:
@@ -64,8 +64,8 @@ pub fn tos3(s &char) string {
|
||||
panic('tos3: nil string')
|
||||
}
|
||||
return string{
|
||||
str: &byte(s)
|
||||
len: strlen(&byte(s))
|
||||
str: &u8(s)
|
||||
len: strlen(&u8(s))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user