diff --git a/src/collections/sets.rs b/src/collections/sets.rs index bdcf09861f8de3d733e72e0c6022236111c5916e..8f36093cb95fd90b450665ad0c501aff96abd1aa 100644 --- a/src/collections/sets.rs +++ b/src/collections/sets.rs @@ -97,4 +97,9 @@ impl VecSet { pub fn is_empty(&self) -> bool { self.inner.is_empty() } + + #[inline] + pub fn into_vec(self) -> Vec { + return self.inner; + } } \ No newline at end of file