Rustacean Station  cover image

Learn Rust in a Month of Lunches with Dave MacLeod

Rustacean Station

00:00

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.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app