refactor(utils): remove not used function
This commit is contained in:
parent
a2959e8446
commit
b745b0a5a2
1 changed files with 0 additions and 11 deletions
|
|
@ -9,17 +9,6 @@ function utils.is_tbl_empty(t)
|
||||||
return next(t) == nil
|
return next(t) == nil
|
||||||
end
|
end
|
||||||
|
|
||||||
---@param s string
|
|
||||||
---@return string
|
|
||||||
function utils.rtrim(s)
|
|
||||||
local n = #s
|
|
||||||
while n > 0 and s:find("^%s", n) do
|
|
||||||
n = n - 1
|
|
||||||
end
|
|
||||||
|
|
||||||
return s:sub(1, n)
|
|
||||||
end
|
|
||||||
|
|
||||||
---@param msg string
|
---@param msg string
|
||||||
---@param lvl any
|
---@param lvl any
|
||||||
function utils.deferred_notify(msg, lvl)
|
function utils.deferred_notify(msg, lvl)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue