summaryrefslogtreecommitdiff
path: root/exercises/smart_pointers/README.md
diff options
context:
space:
mode:
authorseporterfield <107010978+seporterfield@users.noreply.github.com>2023-01-01 02:17:23 +0100
committerGitHub <noreply@github.com>2023-01-01 02:17:23 +0100
commit3fad2a9c8364c6994fa5de0ed58612ddceaf2f25 (patch)
treea393502e5a454b3e9f92ca21ab8aa6313702e4b7 /exercises/smart_pointers/README.md
parent8405a61b07583e6d09b8811c253a8e83aa972c46 (diff)
gave smart_pointers its own README.md
Diffstat (limited to 'exercises/smart_pointers/README.md')
-rw-r--r--exercises/smart_pointers/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/exercises/smart_pointers/README.md b/exercises/smart_pointers/README.md
new file mode 100644
index 0000000..3893e78
--- /dev/null
+++ b/exercises/smart_pointers/README.md
@@ -0,0 +1,11 @@
+## 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
+
+- [Smart Pointers](https://doc.rust-lang.org/book/ch15-00-smart-pointers.html)
+- [Using Box to Point to Data on the Heap](https://doc.rust-lang.org/book/ch15-01-box.html)
+- [Rc\<T\>, the Reference Counted Smart Pointer](https://doc.rust-lang.org/book/ch15-04-rc.html)
+- [Shared-State Concurrency](https://doc.rust-lang.org/book/ch16-03-shared-state.html)
+- [Cow Documentation](https://doc.rust-lang.org/std/borrow/enum.Cow.html)