summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
Diffstat (limited to 'exercises')
-rw-r--r--exercises/15_traits/traits2.rs2
-rw-r--r--exercises/20_threads/threads3.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/15_traits/traits2.rs b/exercises/15_traits/traits2.rs
index e904016..d724dc2 100644
--- a/exercises/15_traits/traits2.rs
+++ b/exercises/15_traits/traits2.rs
@@ -3,7 +3,7 @@ trait AppendBar {
}
// TODO: Implement the trait `AppendBar` for a vector of strings.
-// `appned_bar` should push the string "Bar" into the vector.
+// `append_bar` should push the string "Bar" into the vector.
fn main() {
// You can optionally experiment here.
diff --git a/exercises/20_threads/threads3.rs b/exercises/20_threads/threads3.rs
index 30ac8dd..8aa7291 100644
--- a/exercises/20_threads/threads3.rs
+++ b/exercises/20_threads/threads3.rs
@@ -18,7 +18,7 @@ impl Queue {
fn send_tx(q: Queue, tx: mpsc::Sender<u32>) {
// TODO: We want to send `tx` to both threads. But currently, it is moved
- // into the frist thread. How could you solve this problem?
+ // into the first thread. How could you solve this problem?
thread::spawn(move || {
for val in q.first_half {
println!("Sending {val:?}");