1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-11-29 22:47:43 +02:00

Fix typos

This commit is contained in:
mo8it
2024-07-02 14:28:08 +02:00
parent 67ce9b9e56
commit 6cf75d569b
3 changed files with 5 additions and 5 deletions

View File

@@ -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.

View File

@@ -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:?}");