Minor change to spacing when printing a map
This commit is contained in:
1 parent
5ff6a25bdc
commit
0f83ab466f
1 file changed
+1
-1
+1
-1
@@ -2814,7 +2814,7 @@ fmt_value :: proc(fi: ^Info, v: any, verb: rune) {
|
|||||||
value := runtime.map_cell_index_dynamic(vs, info.map_info.vs, bucket_index)
|
value := runtime.map_cell_index_dynamic(vs, info.map_info.vs, bucket_index)
|
||||||
|
|
||||||
fmt_arg(&Info{writer = fi.writer}, any{rawptr(key), info.key.id}, verb)
|
fmt_arg(&Info{writer = fi.writer}, any{rawptr(key), info.key.id}, verb)
|
||||||
if verb == 'v' {
|
if hash {
|
||||||
io.write_string(fi.writer, " = ", &fi.n)
|
io.write_string(fi.writer, " = ", &fi.n)
|
||||||
} else {
|
} else {
|
||||||
io.write_string(fi.writer, "=", &fi.n)
|
io.write_string(fi.writer, "=", &fi.n)
|
||||||
|
|||||||
Reference in new issue
Block a user