Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Rust Programming Tutorial #6 – If Else Statements

39.6K views on YouTube

dcode 42 tutorials here

Today we’ll be going over ‘if statements’ in Rust as well as ‘else’ and ‘if else’. They work essentially the same as the other popular languages however it is not required to use parenthesis around your conditions.

If this video helped you out and you’d like to see more, make sure to leave a like and subscribe to dcode!