Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ iter
Method
iter
publication/code/chapter04/linked_list.rs:76–78 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
74
}
75
76
fn iter(&self) -> Iter<T> {
77
Iter { next: self.head.as_deref() }
78
}
79
80
fn iter_mut(&mut self) -> IterMut<T> {
81
IterMut { next: self.head.as_deref_mut() }
Callers
1
iter_test
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected