19 lines480 B

Lesson 8: Lifetimes demystified

This lesson covers lifetimes demystified. You'll read a short explanation, try three small exercises and finish with a quiz.

Full lesson: https://glibcode.net/courses/rust-ownership/lessons/8

Files

  • src/main.rs: lifetime annotations when the compiler needs them

Run it

cargo run

Exercises

See exercises.md. Ask in the forum once you've tried.