{}
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