projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util.set: :items() now returns an iterator instead of the underlying table. This...
[prosody.git]
/
util
/
set.lua
diff --git
a/util/set.lua
b/util/set.lua
index a2df669c05e97706b8d6120cddece71a8a5d73b7..89cd7cf369f0b891270f65c616958fd1f8536866 100644
(file)
--- a/
util/set.lua
+++ b/
util/set.lua
@@
-75,7
+75,7
@@
function new(list)
end
function set:items()
- return items;
+ return
next,
items;
end
function set:remove(item)