Compound Data Types
How to create and access tuples and arrays in Rust, with indexing, destructuring, and when to use each.
Posts, notes, and digests — building the things, mostly in Rust
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.
How to declare and use constants in Rust to replace magic values in your code.
How to use regular comments and documentation comments in Rust, and why commenting your code matters.