mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: ~500 more byte=>u8
This commit is contained in:
@@ -12,7 +12,7 @@ const (
|
||||
max_u64 = u64(18446744073709551615) // as u64 // use this until we add support
|
||||
)
|
||||
|
||||
pub fn byte_to_lower(c byte) byte {
|
||||
pub fn byte_to_lower(c u8) u8 {
|
||||
return c | (`x` - `X`)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user