Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Smart Pointers in Rust – Reference Cycles

29.7K views on YouTube

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 notified when the Rust Cheatsheet comes out: https://letsgetrusty.com/

The Rust book: https://doc.rust-lang.org/stable/book/​​

Chapters:
0:00​ Intro
1:18 Creating a Reference Cycle
7:57 Creating a Tree Data Structure
9:13 Adding Reference from Child to Its Parent
12:34 strong_count and weak_count
14:56 Outro

#letsgetrusty​​ #rust​lang​ #tutorial