{
}
Online Python Compiler
Online R Compiler
Online SQL Editor
Online HTML/CSS Editor
Online Java Compiler
Online C Compiler
Online C++ Compiler
Online C# Compiler
Online JavaScript Compiler
Online GoLang Compiler
Online PHP Compiler
Online Swift Compiler
Online Rust Compiler
Generating Link
Generating Link
Share your code
Share code
Copy Link
Copied to clipboard
or share using
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
Rust Online Compiler
Learn Python App
Learn Python
main.rs
Output
main.rs
Share
Run
Run
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
Clear