Concept Flow - Lifetime annotations
Start: Define function with lifetimes
Input references with lifetimes
Check lifetime constraints
Valid
Return reference with correct lifetime
End
The flow shows how Rust checks lifetime annotations on references to ensure safe borrowing and returns references with correct lifetimes.