From 1b23b28c7e9f2ecc59dcf19ec2533ab2c4f3e9d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 4 Jul 2022 20:51:32 +0800 Subject: fix #1269 --- meta/template/string.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meta/template') diff --git a/meta/template/string.lua b/meta/template/string.lua index f74f7546..c8272924 100644 --- a/meta/template/string.lua +++ b/meta/template/string.lua @@ -94,9 +94,8 @@ function string.match(s, pattern, init) end ---@version >5.3 ---#DES 'string.pack' ---@param fmt string ----@param v1 string ----@param v2? string ----@param ... string +---@param v1 string|number +---@param ... string|number ---@return string binary ---@nodiscard function string.pack(fmt, v1, v2, ...) end -- cgit v1.2.3