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
As noted here, the VecDeque pretty-printer doesn't take into account the ring buffer structure.
Example:
use std::collections::VecDeque;
fn main() {
let mut deque = VecDeque::new();
for i in 1..8 {
deque.push_back(i)
}
deque.pop_front();
deque.push_back(8);
println!("{:?}", deque);
}
Activity
Fix VecDeque pretty-printer
Rollup merge of rust-lang#55961 - tromey:Bug-55944-vecdeque, r=nikoma…