Rust 1.7.0 匹配器match 的简单介绍和使用. ... 1let boolean = true; 2 let binary = match boolean { 3 false => 0, 4 true => 1, 5 }; 6 println!
確定! 回上一頁