Rustacean Station  cover image

Learn Rust in a Month of Lunches with Dave MacLeod

Rustacean Station

CHAPTER

Shadowing in Rust

This chapter discusses the concept of shadowing in Rust, explaining how it can be misunderstood as mutation and how it affects variable scope. It provides a simple analogy using a teacher and students to demonstrate the concept and highlights its relevance to understanding lifetimes in the language.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner