feat: another round of functions using AirStack

Co-authored-by: Kasey White <kwhitemsg@gmail.com>
This commit is contained in:
rvcas
2023-03-23 21:14:20 -04:00
committed by Lucas
parent 489dd235ff
commit 709ee914ed
4 changed files with 85 additions and 104 deletions

View File

@@ -67,6 +67,10 @@ impl<'a> AirStack<'a> {
}
}
pub fn complete(self) -> Vec<Air> {
self.air
}
pub fn sequence(&mut self, stacks: Vec<AirStack>) {
for stack in stacks {
self.merge(stack)