Equality
Explore how Rust handles equality through the bool type and the == operator. Understand the difference between assignment and comparison. This lesson prepares you to use conditional logic effectively by mastering boolean expressions and their operations in Rust programming.
We'll cover the following...
We'll cover the following...
Computer programs need to make many decisions. “Should I download that file?” “Should I send that email?” “Should I fire the nukes?” We generally call these conditionals, we do something on condition that something is true.
We’ll cover conditionals themselves later. Today, we’re going to ...