mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
strings: simplify Builder (#10263)
This commit is contained in:
@@ -156,7 +156,7 @@ fn save_raw_data_as_array(buf_bin []byte, file_name string) {
|
||||
for x in buf_bin {
|
||||
buf.write_string('0x${x:02x},')
|
||||
}
|
||||
os.write_file_array(file_name, buf.buf) or { panic(err) }
|
||||
os.write_file_array(file_name, buf) or { panic(err) }
|
||||
}
|
||||
|
||||
fn test_main() {
|
||||
|
||||
Reference in New Issue
Block a user