严格的来说,只有Option 和Result,Some 只是Option 的一个值包装类型。 ... 就是这样,unwrap() 做的事就是有值返回值,如果值是None 则直接panic!
確定! 回上一頁