In this video we take a look at for loops in Rust, which are unconventional compared to other languages such as C or Java. In Rust, you use for loops to loop over iterators.
We also look at using the enumerate function to gain access to the index we are currently at in the loop.
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
32 Comments