Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithm-archivists/algorithm-archive
/ pop
Method
pop
contents/stacks_and_queues/code/rust/Stack.rs:18–20 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
16
}
17
18
fn pop(&mut self) -> Option<T> {
19
self.list.pop()
20
}
21
22
fn push(&mut self, item: T) {
23
self.list.push(item);
Callers
nothing calls this directly
Calls
1
pop
Method · 0.65
Tested by
no test coverage detected