当然,像 Option 一样,如果程序员对发生的错误不感兴趣,rust 也提供了 unwrap 方法来避免手写 match 。 要注意的是,无论是 Option 还是 Result ...
確定! 回上一頁