Skip to content

Commit c8e9a4a

Browse files
committed
mark string.gmatch as nodiscard
1 parent c6549d9 commit c8e9a4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

meta/template/string.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function string.format(s, ...) end
5151
---@param s string
5252
---@param pattern string
5353
---@return fun():string, ...
54+
---@nodiscard
5455
function string.gmatch(s, pattern) end
5556
---#else
5657
---@param s string

0 commit comments

Comments
 (0)