{}
BLACK FRIDAY SALE
Get Programiz PRO for LIFE at 60% off!
Claim My Discount
Sale ends in
BLACK FRIDAY
Save 60% on PRO: Sale Ends Soon!
Claim My Discount
run-icon
main.rs
fn main() { println!("Hello, world!"); let foo = vec![ vec![1,2], vec![2,3] ]; let baa = vec![1,2]; for baz in foo { let is_equal = baz == baa; println!("{is_equal}: {baa:?} == {baz:?}"); } }
Output