Conditional Logic
Using if, else, and else if expressions in Rust to control program flow, including conditional variable assignment.
Posts, notes, and digests — building the things, mostly in Rust
Using if, else, and else if expressions in Rust to control program flow, including conditional variable assignment.
Declaring functions in Rust, with parameters, return values, and the difference between statements and expressions.
How to create and access tuples and arrays in Rust, with indexing, destructuring, and when to use each.
Rust's scalar types: integers, floating-point numbers, booleans, and characters.
How variables work in Rust, why they're immutable by default, and how shadowing lets you transform values.