mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32: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
|
@ -47,11 +47,11 @@ pub fn with_cancel(mut parent Context) (Context, CancelFn) {
|
|||
// new_cancel_context returns an initialized CancelContext.
|
||||
fn new_cancel_context(parent Context) &CancelContext {
|
||||
return &CancelContext{
|
||||
id: rand.uuid_v4()
|
||||
id: rand.uuid_v4()
|
||||
context: parent
|
||||
mutex: sync.new_mutex()
|
||||
done: chan int{cap: 2}
|
||||
err: none
|
||||
mutex: sync.new_mutex()
|
||||
done: chan int{cap: 2}
|
||||
err: none
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue