Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ iter
Method
iter
publication/code/chapter04/list_stack.rs:84–86 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
82
}
83
84
fn iter(&self) -> Iter<T> {
85
Iter { next: self.top.as_deref() }
86
}
87
88
fn iter_mut(&mut self) -> IterMut<T> {
89
IterMut { next: self.top.as_deref_mut() }
Callers
1
iter
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected