Rust has no do-while loop with syntax sugar. Use loop and break. Demo · Doc. Rust. while { doStuff(); c } { /* EMPTY */ } ...
確定! 回上一頁