mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
util.set: Remove unnecessary local declaration, arguments are already locals [luacheck]
This commit is contained in:
parent
d0741cdda2
commit
f1085b6ceb
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ function set_mt.__div(set, func)
|
||||||
return new_set;
|
return new_set;
|
||||||
end
|
end
|
||||||
function set_mt.__eq(set1, set2)
|
function set_mt.__eq(set1, set2)
|
||||||
local set1, set2 = set1._items, set2._items;
|
set1, set2 = set1._items, set2._items;
|
||||||
for item in pairs(set1) do
|
for item in pairs(set1) do
|
||||||
if not set2[item] then
|
if not set2[item] then
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue