可以加上 match 卫语句(guard) 来过滤分支。 fn main() {. let pair = (2, -2);. // 试一试 ^ 将不同的值赋给 `pair`. println!("Tell me about {:?}", pair);.
確定! 回上一頁