Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4
use crate::ll::LinkedList;
5
6
pub struct Stack<T> {
7
ll: LinkedList<T>,
8
}
9
10
impl<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