summaryrefslogtreecommitdiff
path: root/meta/template/string.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/string.lua')
-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