What's In a Reference?

Every value in Rust lives somewhere in your computer’s memory. And every place in computer memory has an address. It’s possible to use println and the special {:p} syntax to display the address itself:

Get hands-on with 1200+ tech skills courses.