这里之所以使用 map_err ,是因为有必要让错误类型保持不变(因为我们还会使用 and_then )。因为我们需要将 Option (来自 argv.nth(1) )转换成 Result ...
確定! 回上一頁