Glossary coding Term Page
Reference
Access by pointing to original data without taking ownership
Core Idea
A reference lets code access original data by pointing to it instead of copying the value or taking ownership. In Rust this appears as &T and &mut T, which separate read-only access from mutable access.
Why It Matters Here
Mathbong uses references as the hub behind borrowing, slices, and Rust method signatures. Once you feel the difference between "take the value" and "temporarily point at it," the rest of Rust reads much more naturally.