Rust 学习笔记. ... Rust的while let 表达式. while let 可以简化代码,如这个loop:. let mut v = vec![1,2,3,4,5]; loop { match v.pop() { Some(x) => println!
確定! 回上一頁