-
-
Save johnteee/6a7feb2304d0480f7105a50f8e3facd8 to your computer and use it in GitHub Desktop.
do-while loops in Rust
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while { | |
let x = foo(); | |
bar(x); | |
x != 0 | |
} {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment