mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
fmt: fix alignment of struct init fields (#22025)
This commit is contained in:
parent
99da5726db
commit
c51d30bf53
671 changed files with 18817 additions and 18787 deletions
|
@ -38,8 +38,8 @@ mut:
|
|||
fn new_sorted_map(n int, value_bytes int) SortedMap { // TODO: Remove `n`
|
||||
return SortedMap{
|
||||
value_bytes: value_bytes
|
||||
root: new_node()
|
||||
len: 0
|
||||
root: new_node()
|
||||
len: 0
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ fn new_sorted_map_init(n int, value_bytes int, keys &string, values voidptr) Sor
|
|||
fn new_node() &mapnode {
|
||||
return &mapnode{
|
||||
children: unsafe { nil }
|
||||
len: 0
|
||||
len: 0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue