Skip to content

Commit 3fad2a9

Browse files
gave smart_pointers its own README.md
1 parent 8405a61 commit 3fad2a9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

exercises/smart_pointers/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Smart Pointers
2+
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.
3+
Smart pointers in Rust often own the data they point to, while references only borrow data.
4+
5+
## Further Information
6+
7+
- [Smart Pointers](https://doc.rust-lang.org/book/ch15-00-smart-pointers.html)
8+
- [Using Box to Point to Data on the Heap](https://doc.rust-lang.org/book/ch15-01-box.html)
9+
- [Rc\<T\>, the Reference Counted Smart Pointer](https://doc.rust-lang.org/book/ch15-04-rc.html)
10+
- [Shared-State Concurrency](https://doc.rust-lang.org/book/ch16-03-shared-state.html)
11+
- [Cow Documentation](https://doc.rust-lang.org/std/borrow/enum.Cow.html)

0 commit comments

Comments
 (0)