Practice ยท 1 of 3
A View Must Outlive Its Source
Implement stableView so the returned string_view is still valid when the test inspects it, and fix danglingView so it returns a view over storage that lives long enough.
Difficulty: advanced
Press Submit to check your solution.
Back to lesson: Practice: Lifetime Clinic