mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
checker: warn about byte deprecation, when used as a fn parameter (#19629)
This commit is contained in:
parent
8a8129cd5c
commit
6437d82ee1
9 changed files with 20 additions and 10 deletions
|
@ -18,7 +18,7 @@ pub fn new_builder(initial_size int) Builder {
|
|||
return []u8{cap: initial_size}
|
||||
}
|
||||
|
||||
pub fn (mut b Builder) write_byte(data byte) {
|
||||
pub fn (mut b Builder) write_byte(data u8) {
|
||||
b << data
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue