mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
all: byte => u8
This commit is contained in:
parent
b49d873217
commit
d4a0d6f73c
221 changed files with 1365 additions and 1365 deletions
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue