1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-09 03:53:06 +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

View File

@@ -3568,7 +3568,7 @@
(ev/go (fn _call [&] (f ;args)))) (ev/go (fn _call [&] (f ;args))))
(defmacro ev/spawn (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] [& body]
~(,ev/go (fn _spawn [&] ,;body))) ~(,ev/go (fn _spawn [&] ,;body)))