Rust Lifetimes Finally Explained!
Let's Get Rusty
0:00 / 0:00
Rust Lifetimes Finally Explained!
215 042 просмотра · 5 лет назад
Let's Get Rusty
173 тыс. подписчиков
215 042 просмотра · 5 лет назад
Join our Rust Live Accelerator waitlist (free Rust Job-Ready Roadmap inside):
https://letsgetrusty.com/join
Let’s Get Rusty is the #1 Rust education & career development platform for engineers who want real-world skills and results. We combine a structured curriculum, industry-grade projects, expert review and feedback, and our Rust recruiter network — to help you master Rust and get hired.
· The ultimate Rust lang tutorial. Follow along as we go through the Rust lang book chapter by chapter.
📝 Get your *FREE Rust Cheat Sheet*: https://www.letsgetrusty.com/cheatsheet
The Rust book: https://doc.rust-lang.org/stable/book/
0:00 Intro
0:22 The Borrow Checker
3:03 Generical Lifetime Annotations
10:29 Thinking in Terms of Lifetimes
12:25 Lifetime Annotations in Struct Definitions
13:27 Lifetime Elision
15:35 Lifetime Annotations in Method Definitions
17:07 Static Lifetimes
17:27 Putting it All Together
18:33 Outro
#letsgetrusty #rustlang #tutorial