Quote image editor
“loop { work(); play(); ; // <-- empty statement } Rust follows the tradition of C in allowing this. Empty statements do nothing except convey a slight feeling of melancholy. We mention them only for completeness.” — Jim Blandy, Jason Orendorff
loop {
work();
play();
; // <-- empty statement
}
Rust follows the tradition of C in allowing this. Empty statements do nothing except convey a slight feeling of melancholy. We mention them only for completeness.