Concept Flow - Dangling reference prevention
Create variable with data
Create reference to variable
Use reference safely
Variable goes out of scope
Reference invalidated automatically
Compiler prevents dangling reference
This flow shows how Rust creates a reference to data, uses it safely, and prevents the reference from outliving the data to avoid dangling references.
