Rust by Example

7 Flow Control

Here we will analyze various flow control structures such as if/else, for and the related i..j notation, while, loop, match and the related if let and while let simplifications.