1 00:00:06,510 --> 00:00:09,180 - Hello again, and welcome to lesson three. 2 00:00:09,180 --> 00:00:13,050 This lesson is all about how to do flow control in Rust. 3 00:00:13,050 --> 00:00:15,270 You'd be familiar with the concepts 4 00:00:15,270 --> 00:00:17,100 in this lesson from other languages, 5 00:00:17,100 --> 00:00:20,236 but some of the details might be a bit surprising. 6 00:00:20,236 --> 00:00:23,550 So we'll begin with a look at simple if-tests. 7 00:00:23,550 --> 00:00:25,530 Then we'll see how to do matching, 8 00:00:25,530 --> 00:00:28,260 which is quite similar to using switch in other languages, 9 00:00:28,260 --> 00:00:29,709 but more powerful. 10 00:00:29,709 --> 00:00:31,920 Next, we'll take a look at loops. 11 00:00:31,920 --> 00:00:34,980 And finally, we'll see how to use break and continue 12 00:00:34,980 --> 00:00:38,373 to influence flow control inside the loop.