Fix warnings in new luacheck

This commit is contained in:
rubenwardy 2018-04-06 16:18:32 +01:00
parent 6b8049f1aa
commit e3b12312e5
3 changed files with 4 additions and 3 deletions

View file

@ -29,7 +29,7 @@ end, {
}
})
function table.map_inplace(t, f)
function table.map_inplace(t, f) -- luacheck: ignore
for key, value in pairs(t) do
t[key] = f(value)
end