1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix long line in doc/docs.md

This commit is contained in:
Delyan Angelov 2022-11-05 10:57:13 +02:00
parent 3e02f3b2b1
commit 9f2ab9aad6
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -3802,9 +3802,9 @@ fn main() {
} }
``` ```
There's also a `go` keyword. Right now `go foo()` will be automatically renamed via vfmt to There's also a `go` keyword. Right now `go foo()` will be automatically renamed via vfmt
`spawn foo()`, to `spawn foo()`, and there will be a way to launch a coroutine with `go` (a lightweight
and there will be a way to launch a coroutine with `go` (a lightweight thread managed by the runtime). thread managed by the runtime).
Sometimes it is necessary to wait until a parallel thread has finished. This can Sometimes it is necessary to wait until a parallel thread has finished. This can
be done by assigning a *handle* to the started thread and calling the `wait()` method be done by assigning a *handle* to the started thread and calling the `wait()` method