mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 02:39:20 +00:00
chore: add Planner
This commit is contained in:
parent
3085229801
commit
e71c0d7720
7 changed files with 250 additions and 14 deletions
|
@ -117,6 +117,10 @@ impl<T: Hash> Set<T> {
|
|||
{
|
||||
self.iter().cloned().collect()
|
||||
}
|
||||
|
||||
pub fn into_vec(self) -> Vec<T> {
|
||||
self.elems.into_iter().collect()
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: Hash> IntoIterator for Set<T> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue