1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-23 23:10:26 +00:00

Fix typo in ev/spawn doc

This commit is contained in:
Locria Cyber 2022-09-13 23:49:42 +00:00
parent 356b39c6f5
commit e4c9dafc9a
No known key found for this signature in database
GPG Key ID: ED0D424AE4406330

View File

@ -3568,7 +3568,7 @@
(ev/go (fn _call [&] (f ;args))))
(defmacro ev/spawn
"Run some code in a new fiber. This is shorthand for `(ev/call (fn [] ;body))`."
"Run some code in a new fiber. This is shorthand for `(ev/go (fn [] ;body))`."
[& body]
~(,ev/go (fn _spawn [&] ,;body)))