MCPcopy Create free account
hub / github.com/douchuan/algorithm / Stack

Class Stack

src/common/stack.rs:6–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4use crate::ll::LinkedList;
5
6pub struct Stack<T> {
7 ll: LinkedList<T>,
8}
9
10impl<T> Stack<T> {
11 /// Adds the item to this stack.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected