mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 16:59:12 -04:00
4d04aad890
Convert exercises with assertions to tests |
||
---|---|---|
.. | ||
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.