summaryrefslogtreecommitdiff
path: root/meta/template/utf8.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/utf8.lua')
-rw-r--r--meta/template/utf8.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/utf8.lua b/meta/template/utf8.lua
index bd474710..a00a3238 100644
--- a/meta/template/utf8.lua
+++ b/meta/template/utf8.lua
@@ -18,12 +18,12 @@ function utf8.char(code, ...) end
---#DES 'utf8.codes'
---#if VERSION <= 5.3 then
---@param s string
----@return fun():integer, integer
+---@return fun(s: string, p: integer):integer, integer
function utf8.codes(s) end
---#else
---@param s string
---@param lax? boolean
----@return fun():integer, integer
+---@return fun(s: string, p: integer):integer, integer
function utf8.codes(s, lax) end
---#end