diff --git a/src/collections/sets.rs b/src/collections/sets.rs index 634862349b71ee77c202954f62f467b900184ab3..bdcf09861f8de3d733e72e0c6022236111c5916e 100644 --- a/src/collections/sets.rs +++ b/src/collections/sets.rs @@ -88,6 +88,11 @@ impl VecSet { self.inner.clear(); } + #[inline] + pub fn iter(&self) -> impl Iterator { + return self.inner.iter(); + } + #[inline] pub fn is_empty(&self) -> bool { self.inner.is_empty()