Changeset

13018:9ed4a8502c54

util.set: Add missing remove function in Teal spec
author Kim Alvefur <zash@zash.se>
date Fri, 31 Mar 2023 23:19:07 +0200
parents 13017:94f8fce2d99b
children 13019:8a2f75e38eb2
files teal-src/prosody/util/set.d.tl
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/teal-src/prosody/util/set.d.tl	Fri Mar 31 23:18:49 2023 +0200
+++ b/teal-src/prosody/util/set.d.tl	Fri Mar 31 23:19:07 2023 +0200
@@ -4,6 +4,7 @@
 		contains : function<T> (Set<T>, T) : boolean
 		contains_set : function<T> (Set<T>, Set<T>) : boolean
 		items :  function<T> (Set<T>) : function<T> (Set<T>, T) : T
+		remove : function<T> (Set<T>, T)
 		add_list : function<T> (Set<T>, { T })
 		include : function<T> (Set<T>, Set<T>)
 		exclude : function<T> (Set<T>, Set<T>)