mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-22 19:28:10 -05:00
724 B
724 B
Smart Pointers
In Rust, smart pointers are variables that contain an address in memory and reference some other data, but they also have additional metadata and capabilities. Smart pointers in Rust often own the data they point to, while references only borrow data.