mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
fmt: replace go
with spawn
This commit is contained in:
parent
a082328e40
commit
e81e0ac708
126 changed files with 262 additions and 262 deletions
|
@ -29,7 +29,7 @@ fn test_once() {
|
|||
|
||||
// It is executed 10 times, but only once actually.
|
||||
for i := 0; i < n; i++ {
|
||||
go run(mut once, mut o, c)
|
||||
spawn run(mut once, mut o, c)
|
||||
}
|
||||
for i := 0; i < n; i++ {
|
||||
<-c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue