summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/template/string.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/template/string.lua b/meta/template/string.lua
index d3b4c431..0e0d0537 100644
--- a/meta/template/string.lua
+++ b/meta/template/string.lua
@@ -51,6 +51,7 @@ function string.format(s, ...) end
---@param s string
---@param pattern string
---@return fun():string, ...
+---@nodiscard
function string.gmatch(s, pattern) end
---#else
---@param s string