aboutsummaryrefslogtreecommitdiffstats
path: root/util/set.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/set.lua')
-rw-r--r--util/set.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/set.lua b/util/set.lua
index e9dfec1b..a2df669c 100644
--- a/util/set.lua
+++ b/util/set.lua
@@ -91,13 +91,13 @@ function new(list)
end
function set:include(otherset)
- for item in pairs(otherset) do
+ for item in otherset do
items[item] = true;
end
end
function set:exclude(otherset)
- for item in pairs(otherset) do
+ for item in otherset do
items[item] = nil;
end
end