Skip to content

Commit 7e98f67

Browse files
authored
Merge pull request #1313 from seporterfield/reorder-exercises
Reorder exercises
2 parents 6cee997 + a5429d5 commit 7e98f67

File tree

14 files changed

+91
-79
lines changed

14 files changed

+91
-79
lines changed

exercises/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| if | §3.5 |
88
| primitive_types | §3.2, §4.3 |
99
| vecs | §8.1 |
10-
| move_semantics | §4.1, §4.2 |
10+
| move_semantics | §4.1-2 |
1111
| structs | §5.1, §5.3 |
1212
| enums | §6, §18.3 |
1313
| strings | §8.2 |
@@ -19,8 +19,9 @@
1919
| traits | §10.2 |
2020
| tests | §11.1 |
2121
| lifetimes | §10.3 |
22-
| standard_library_types | §13.2, §15.1, §16.3 |
23-
| threads | §16.1, §16.2, §16.3 |
22+
| iterators | §13.2-4 |
23+
| threads | §16.1-3 |
24+
| smart_pointers | §15, §16.3 |
2425
| macros | §19.6 |
25-
| clippy | n/a |
26+
| clippy | §21.4 |
2627
| conversions | n/a |

exercises/iterators/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Iterators
2+
3+
This section will teach you about Iterators.
4+
5+
## Further information
6+
7+
- [Iterator](https://doc.rust-lang.org/book/ch13-02-iterators.html)
8+
- [Iterator documentation](https://doc.rust-lang.org/stable/std/iter/)

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)