summaryrefslogtreecommitdiff
path: root/meta/template/coroutine.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/coroutine.lua')
-rw-r--r--meta/template/coroutine.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/coroutine.lua b/meta/template/coroutine.lua
index 6ff5d6de..e807f357 100644
--- a/meta/template/coroutine.lua
+++ b/meta/template/coroutine.lua
@@ -5,7 +5,7 @@
coroutine = {}
---#DES 'coroutine.create'
----@param f async fun()
+---@param f async fun(...):...
---@return thread
---@nodiscard
function coroutine.create(f) end
@@ -54,7 +54,7 @@ function coroutine.running() end
function coroutine.status(co) end
---#DES 'coroutine.wrap'
----@param f async fun()
+---@param f async fun(...):...
---@return fun(...):...
---@nodiscard
function coroutine.wrap(f) end