Lifetimes

Programming Languages · Rust Advanced · 18 min

See why references need lifetimes, annotate functions and structs with 'a, and fix the borrow checker's most common errors.

This lesson is part of TuringPath Pro. See plans.

More in Rust Advanced

Previous: Traits and Generics · Next: Iterators and Closures