projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1895b8
)
util.set: :items() now returns an iterator instead of the underlying table. This...
author
Matthew Wild
<mwild1@gmail.com>
Tue, 3 Sep 2013 11:21:43 +0000
(12:21 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 3 Sep 2013 11:21:43 +0000
(12:21 +0100)
util/set.lua
patch
|
blob
|
history
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)