diff --git a/crates/proc_macro_api/src/process.rs b/crates/proc_macro_api/src/process.rs index fca506905f..0aeb38a8a7 100644 --- a/crates/proc_macro_api/src/process.rs +++ b/crates/proc_macro_api/src/process.rs @@ -109,9 +109,7 @@ fn client_loop(task_rx: Receiver, mut process: Process) { Some(it) => it, }; - for task in task_rx { - let Task { req, result_tx } = task; - + for Task { req, result_tx } in task_rx { match send_request(&mut stdin, &mut stdout, req) { Ok(res) => result_tx.send(res).unwrap(), Err(_err) => {