1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-06-24 07:47:10 +02:00
rustlings/exercises/smart_pointers
Mate Kovacs 720f33eee6 add .to_mut() in test owned_mutation() 2023-08-10 19:56:47 +09:00
..
README.md feat(docs): add markdown linter for exercises README.md files 2023-03-30 19:53:22 +03:30
arc1.rs docs: cleanup the explanation paragraphs at the start of each exercise. 2023-05-29 18:41:51 +01:00
box1.rs docs: cleanup the explanation paragraphs at the start of each exercise. 2023-05-29 18:41:51 +01:00
cow1.rs add .to_mut() in test owned_mutation() 2023-08-10 19:56:47 +09:00
rc1.rs docs: cleanup the explanation paragraphs at the start of each exercise. 2023-05-29 18:41:51 +01: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