-2

fn main() {
let v1 = vec![1, 2];
let v2 = vec![1, 2];
let fst = &v1[0]; //define a variable that get v1[0]
match v2.get(0) {
Some(fst) => println!("v1[0]:{} is qual to v2[0]:{}", fst, v2[0]),
None => println!("v1[0] is not qual to v2[0]"),
}
}
output: v1[0]:...