Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ next
Method
next
publication/code/chapter04/lvec.rs:161–163 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
159
impl<T: Copy + Debug> Iterator for IntoIter<T> {
160
type Item = T;
161
fn next(&mut self) -> Option<Self::Item> {
162
self.0.pop()
163
}
164
}
165
166
struct Iter<
'a, T: '
a> { next: Option<&'a Node<T>> }
Callers
1
hamming_distance_str
Function · 0.45
Calls
1
pop
Method · 0.45
Tested by
no test coverage detected