Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ is_empty
Method
is_empty
src/common/stack.rs:35–37 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
33
}
34
35
pub fn is_empty(&self) -> bool {
36
self.ll.is_empty()
37
}
38
}
39
40
impl<T> Default for Stack<T> {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected