summaryrefslogtreecommitdiff
path: root/exercises/20_threads
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-07-02 14:28:08 +0200
committermo8it <mo8it@proton.me>2024-07-02 14:28:08 +0200
commit6cf75d569bd0dd33a041e37c59cb75d28664bd7b (patch)
tree8cc7805f33006d11e5ff57604c2cb9b666249574 /exercises/20_threads
parent67ce9b9e56b1d9e8b8b50b9b48c7eebd80b9ec8f (diff)
Fix typos
Diffstat (limited to 'exercises/20_threads')
-rw-r--r--exercises/20_threads/threads3.rs2
1 files changed, 1 insertions, 1 deletions
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:?}");