blob: 25eaa79ff8aaf768f4d021c230f498373e5b4d46 [file] [log] [blame]
fn main() {
// ANCHOR: here
let x = Some(5);
let y = 10;
match x {
Some(50) => println!("Got 50"),
Some(y) => println!("Matched, y = {:?}", y),
_ => println!("Default case, x = {:?}", x),
}
println!("at the end: x = {:?}, y = {:?}", x, y);
// ANCHOR_END: here
}