mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +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
|
@ -68,7 +68,7 @@ const epoll_exclusive = u32(C.EPOLLEXCLUSIVE)
|
|||
fn (mut en EpollNotifier) ctl(fd int, op int, mask u32) ! {
|
||||
event := C.epoll_event{
|
||||
events: mask
|
||||
data: C.epoll_data_t{
|
||||
data: C.epoll_data_t{
|
||||
fd: fd
|
||||
}
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ fn (mut en EpollNotifier) wait(timeout time.Duration) []FdEvent {
|
|||
panic('encountered an empty event kind; this is most likely due to using tcc')
|
||||
}
|
||||
arr << &EpollEvent{
|
||||
fd: fd
|
||||
fd: fd
|
||||
kind: kind
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue