rust

Rust lifetimes - not a duration, but a dependency

The `'a` annotation doesn't control how long data lives - it declares a dependency: the reference is valid while both arguments are alive

rust

The borrow checker has one rule - and it is not the one you think

Why the borrow checker rejects code that looks safe - and what it is actually enforcing

rust

Your data is not where you think it is

The two places Rust stores values - and why knowing them matters

rust

The simplest way to understand ownership in Rust

Why Rust takes away a value you just passed - and how to stop fighting it