Forgot to commit this last time
This commit is contained in:
parent
62e12a5204
commit
718215ce91
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue