mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: replace go
with spawn
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user