以类似的方式,当一个值匹配某种模式时,你可以用while let 来进行条件循环。代码如下面所示: loop { match option { Some(x) => println!(
確定! 回上一頁