diff options
| author | Emmanuel Roullit <eroullit@github.com> | 2023-02-25 17:11:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-25 17:11:43 +0100 |
| commit | fcadbfc70d578e4a993711d5a7f1737aebd6b3ce (patch) | |
| tree | 897142c1904755a43aefce56695c0b8186381e69 /exercises/smart_pointers/README.md | |
| parent | b653d4848a52701d2240f130ab74c158dd5d7069 (diff) | |
| parent | 701b4bef51b50d1fd3bb7fbfe3cc274f2bbdcb0c (diff) | |
Merge branch 'rust-lang:main' into codespaces
Diffstat (limited to 'exercises/smart_pointers/README.md')
| -rw-r--r-- | exercises/smart_pointers/README.md | 11 |
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..c517ae3 --- /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) |
