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
|
@ -62,10 +62,10 @@ fn fixed_array_on_the_heap(len int, size int) []u8 {
|
|||
return unsafe {
|
||||
array{
|
||||
element_size: 1
|
||||
len: len
|
||||
cap: size
|
||||
data: data
|
||||
flags: .noshrink | .nogrow | .nofree
|
||||
len: len
|
||||
cap: size
|
||||
data: data
|
||||
flags: .noshrink | .nogrow | .nofree
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue