← Back to exercises

Lifetimes: missing annotation

Fix the code so it compiles. The function returns a reference but the compiler cannot determine its lifetime.