1
Fork 0

Forgot to commit this last time

This commit is contained in:
Matei Adriel 2022-12-31 19:30:30 +01:00
parent 62e12a5204
commit 718215ce91

View file

@ -53,7 +53,7 @@ end
---@param at integer ---@param at integer
---@param value T ---@param value T
function M.list_insert(list, at, value) function M.list_insert(list, at, value)
table.insert(list,at, value) table.insert(list, at, value)
end end
---Shallow copies some table ---Shallow copies some table
@ -64,7 +64,8 @@ function M.copy(object)
local result = {} local result = {}
for k, v in pairs(object) do for k, v in pairs(object) do
result[k] = v end result[k] = v
end
return result return result
end end