diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-12-24 14:37:12 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-12-24 14:37:12 +0800 |
commit | c8e9a4a665da5e8dd73fb7cfb1a94b98f0e45c65 (patch) | |
tree | e1c656402518c21e16cbe218cf42fb73a4df4c0c /meta/template/string.lua | |
parent | c6549d9dd8eb8dfca684f6a25dc7e1c01dcaf358 (diff) | |
download | lua-language-server-c8e9a4a665da5e8dd73fb7cfb1a94b98f0e45c65.zip |
mark `string.gmatch` as `nodiscard`
Diffstat (limited to 'meta/template/string.lua')
-rw-r--r-- | meta/template/string.lua | 1 |
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 |