Similar to if let, while let allows you to loop until the "if let" is false.
if let
while let
let mut stack = vec![1, 2, 3]; while let Some(top) = stack.pop { println!("{}", top); }