You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Allows us to manipulate the frames list like an iterator without consuming it and resetting its
/// display order counter.
impl<'a, T> Iterator for &'a mut ReadyFramesQueue<T> {
type Item = T;
/// Returns the next frame (if any) waiting to be dequeued.
fn next(&mut self) -> Option<T> {
self.queue.pop_front()
}
}
iter_mut() calls pop_front(), so it is actually not possible to iterate without removing items
The text was updated successfully, but these errors were encountered:
The actual code does not seem to match the docs:
iter_mut()
callspop_front()
, so it is actually not possible to iterate without removing itemsThe text was updated successfully, but these errors were encountered: