()
| 4 | |
| 5 | impl<T> Stack<T> { |
| 6 | fn new() -> Self { |
| 7 | Stack { |
| 8 | list: Vec::new(), |
| 9 | } |
| 10 | } |
| 11 | |
| 12 | // Note that this returns a reference to the value |
| 13 | // This is in contrast to pop which gives ownership of the value |
no outgoing calls
no test coverage detected