7.6 if let. For some use cases, match is awkward. For example: // Make `optional` of type `Option<i32>` let optional = Some(7); match optional { Some(i) ...
確定! 回上一頁