mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-16 12:12:54 +00:00
.. | ||
arc1.rs | ||
box1.rs | ||
cow1.rs | ||
rc1.rs | ||
README.md |
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.