fmt: fix alignment of struct init fields (#22025)

This commit is contained in:
yuyi 2024-08-11 14:11:24 +08:00 committed by GitHub
parent 99da5726db
commit c51d30bf53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
671 changed files with 18817 additions and 18787 deletions

View file

@ -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
}
}