Feat: update websys with lifecycle
This commit is contained in:
1 parent
83451372aa
commit
4d01455729
6 files changed
+76
-179
No files matched your search
@@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user