Feat: update websys with lifecycle

This commit is contained in:
Jonathan Kelley committed 2021-02-24 02:22:05 -05:00
1 parent 83451372aa
commit 4d01455729
6 files changed
+76 -179

No files matched your search

+1 -2
View File
@@ -52,9 +52,8 @@ impl Stack {
);
match self.list.last() {
Some(a) => a,
None => panic!("should not happen"),
None => panic!("Called 'top' of an empty stack, make sure to push the root first"),
}
// &self.list[self.list.len() - 1]
}
}