這是Rust 勸退系列的第8 個教程,探討Rust 中的模式匹配。01 match 表達 ... 簡潔,因爲match 必須窮盡所有情況,而if let 和while let 沒有此限制。
確定! 回上一頁