diff --git a/meta/template/string.lua b/meta/template/string.lua index 841654f5c..b0acb5b8d 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