📅  最后修改于: 2022-03-11 14:49:25.384000             🧑  作者: Mango
let x = 1;
match x {
1 => println!("one"),
2 => println!("two"),
3 => println!("three"),
4 => println!("four"),
5 => println!("five"),
_ => println!("something else"),
}