You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-16 22:27:34 +02:00
Add speaker notes to exercise pages
The notes link to the corresponding solutions.
This commit is contained in:
@ -5,3 +5,11 @@ We will look at two things:
|
|||||||
* A small book library,
|
* A small book library,
|
||||||
|
|
||||||
* Iterators and ownership (hard).
|
* Iterators and ownership (hard).
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
After looking at the exercises, you can look at the [solutions] provided.
|
||||||
|
|
||||||
|
[solutions]: solutions-afternoon.md
|
||||||
|
|
||||||
|
</details>
|
||||||
|
@ -19,6 +19,10 @@ A few things to consider while solving the exercises:
|
|||||||
The code snippets are not editable on purpose: the inline code snippets lose
|
The code snippets are not editable on purpose: the inline code snippets lose
|
||||||
their state if you navigate away from the page.
|
their state if you navigate away from the page.
|
||||||
|
|
||||||
|
After looking at the exercises, you can look at the [solutions] provided.
|
||||||
|
|
||||||
|
[solutions]: solutions-morning.md
|
||||||
|
|
||||||
[Using Cargo]: ../../cargo.md
|
[Using Cargo]: ../../cargo.md
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
# Day 2: Afternoon Exercises
|
# Day 2: Afternoon Exercises
|
||||||
|
|
||||||
The exercises for this afternoon will focus on strings and iterators.
|
The exercises for this afternoon will focus on strings and iterators.
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
After looking at the exercises, you can look at the [solutions] provided.
|
||||||
|
|
||||||
|
[solutions]: solutions-afternoon.md
|
||||||
|
|
||||||
|
</details>
|
||||||
|
@ -5,3 +5,11 @@ We will look at implementing methods in two contexts:
|
|||||||
* Simple struct which tracks health statistics.
|
* Simple struct which tracks health statistics.
|
||||||
|
|
||||||
* Multiple structs and enums for a drawing library.
|
* Multiple structs and enums for a drawing library.
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
After looking at the exercises, you can look at the [solutions] provided.
|
||||||
|
|
||||||
|
[solutions]: solutions-morning.md
|
||||||
|
|
||||||
|
</details>
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
# Day 3: Afternoon Exercises
|
# Day 3: Afternoon Exercises
|
||||||
|
|
||||||
Let us build a safe wrapper for reading directory content!
|
Let us build a safe wrapper for reading directory content!
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
After looking at the exercise, you can look at the [solution] provided.
|
||||||
|
|
||||||
|
[solutions]: solutions-afternoon.md
|
||||||
|
|
||||||
|
</details>
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
# Day 3: Morning Exercises
|
# Day 3: Morning Exercises
|
||||||
|
|
||||||
We will design a classical GUI library traits and trait objects.
|
We will design a classical GUI library traits and trait objects.
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
After looking at the exercises, you can look at the [solutions] provided.
|
||||||
|
|
||||||
|
[solutions]: solutions-morning.md
|
||||||
|
|
||||||
|
</details>
|
||||||
|
@ -6,3 +6,10 @@ group up and do this together. Some suggestions:
|
|||||||
* Call your AIDL service with a client written in Rust.
|
* Call your AIDL service with a client written in Rust.
|
||||||
|
|
||||||
* Move a function from your project to Rust and call it.
|
* Move a function from your project to Rust and call it.
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
No solution is provided here since this is open-ended: it relies on someone in
|
||||||
|
the class having a piece of code which you can turn in to Rust on the fly.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
@ -6,3 +6,11 @@ Let us practice our new concurrency skills with
|
|||||||
|
|
||||||
* Multi-threaded link checker: a larger project where you'll use Cargo to
|
* Multi-threaded link checker: a larger project where you'll use Cargo to
|
||||||
download dependencies and then check links in parallel.
|
download dependencies and then check links in parallel.
|
||||||
|
|
||||||
|
<details>
|
||||||
|
|
||||||
|
After looking at the exercises, you can look at the [solutions] provided.
|
||||||
|
|
||||||
|
[solutions]: solutions-morning.md
|
||||||
|
|
||||||
|
</details>
|
||||||
|
Reference in New Issue
Block a user