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.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/template/string.lua b/meta/template/string.lua
index 841654f5..b0acb5b8 100644
--- a/meta/template/string.lua
+++ b/meta/template/string.lua
@@ -31,9 +31,9 @@ function string.dump(f, strip) end
---@param pattern string|number
---@param init? integer
---@param plain? boolean
----@return integer start
----@return integer end
----@return any ... captured
+---@return integer|nil start
+---@return integer|nil end
+---@return any|nil ... captured
---@nodiscard
function string.find(s, pattern, init, plain) end