1 2 3 4 5 6 7
fn main() { let x: &[i32] = &[2, 2]; match x { [_a, _] => println!("Wrong username or password"), _ => println!("Logged in"), } }