Rust 允许一种do-while 循环,例如: 所以C风格: do { something(); } while (test()); 可以用Rust 写成: while { something(); test() }{}
確定! 回上一頁