1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-10 12:36:09 +02:00
rustlings/exercises/19_smart_pointers
Adam Brewer 64d95837e9 Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
..
README.md Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
arc1.rs Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
box1.rs Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
cow1.rs Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00
rc1.rs Update Exercises Directory Names to Reflect Order 2023-10-16 07:37:12 -04:00

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.

Further Information