mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
strings: rename Builder.write_b() to Builder.write_byte(), add deprecation (#13313)
This commit is contained in:
@ -268,7 +268,7 @@ fn (data &StrIntpData) process_str_intp_data(mut sb strings.Builder) {
|
||||
tmp.free()
|
||||
}
|
||||
if write_minus {
|
||||
sb.write_b(`-`)
|
||||
sb.write_byte(`-`)
|
||||
bf.len0-- // compensate for the `-` above
|
||||
}
|
||||
if width == 0 {
|
||||
|
Reference in New Issue
Block a user