From 23b01e07a92ed92a40b3ee8dbdcf03174dc82db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 3 Nov 2021 17:41:56 +0800 Subject: add mark `---@nodiscard` --- meta/template/package.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/template/package.lua') diff --git a/meta/template/package.lua b/meta/template/package.lua index 0b2c8c1b..5c08bbef 100644 --- a/meta/template/package.lua +++ b/meta/template/package.lua @@ -55,6 +55,7 @@ package.searchers = {} ---@param rep? string ---@return string? filename ---@return string? errmsg +---@nodiscard function package.searchpath(name, path, sep, rep) end ---#DES 'package.seeall' -- cgit v1.2.3