Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ next
Method
next
publication/code/chapter06/hashmap.rs:204–206 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
202
impl<
'a, T> Iterator for Iter<'
a, T> {
203
type Item = &'a T;
204
fn next(&mut self) -> Option<Self::Item> {
205
self.stack.pop()
206
}
207
}
208
209
struct IterMut<
'a, T: '
a> { stack: Vec<&'a mut T>, }
Callers
nothing calls this directly
Calls
1
pop
Method · 0.45
Tested by
no test coverage detected