google / comprehensive-rust

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.
https://google.github.io/comprehensive-rust/
Apache License 2.0
28.01k stars 1.67k forks source link

Use both `break` and `continue` for consistency #2412

Closed mgeisler closed 1 month ago

mgeisler commented 1 month ago

To me, this little change makes it a little clearer that we either print something, we break, or we continue in the loop.