mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 06:49:19 +00:00
fix: keep TODO comment for learner guidance
This commit is contained in:
parent
0efc3c5b06
commit
2cab96be52
@ -15,6 +15,9 @@ 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 first thread. How could you solve this problem?
|
||||
|
||||
// Destructure the Queue to move first_half and second_half independently
|
||||
let Queue {
|
||||
first_half,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user