Medium
while let with Vec::pop as the scrutinee
What does this program print?
main.rs
fn main() {
let mut stack = vec![1, 2, 3];
while let Some(top) = stack.pop() {
println!("popped {}", top);
}
println!("stack empty: {:?}", stack);
}44 of 53 in Rust