if let 与while let 可以用来获取返回值是Option 或者Result<>里面的内容if let当只需要判断一个数据时使用if let let bool = true; let mut num = 0; ...
確定! 回上一頁