我应该什么时候使用 std::cmp::ordering 在 match 阻止而不是使用 if / else if 声明?可读性是唯一的区别吗? 例如: use std::cmp::Ordering; fn main() { match ...
確定! 回上一頁