Rust 有個更強大的 match 關鍵字可以讓你取代複雜的 if / else 組合。 來看看吧: ... 它會被稱為 match 是因為 match 是「模式配對」(pattern matching)的實作。
確定! 回上一頁