Concept Flow - Lifetimes in functions
Function called with references
Check lifetime annotations
Compare input lifetimes
Valid
Return reference with correct lifetime
Function ends
This flow shows how Rust checks lifetime annotations in functions to ensure returned references are valid and safe.