aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/proc_macro_api/src/process.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/proc_macro_api/src/process.rs b/crates/proc_macro_api/src/process.rs
index 0aeb38a8a..b66613c38 100644
--- a/crates/proc_macro_api/src/process.rs
+++ b/crates/proc_macro_api/src/process.rs
@@ -104,10 +104,7 @@ impl ProcMacroProcessSrv {
104} 104}
105 105
106fn client_loop(task_rx: Receiver<Task>, mut process: Process) { 106fn client_loop(task_rx: Receiver<Task>, mut process: Process) {
107 let (mut stdin, mut stdout) = match process.stdio() { 107 let (mut stdin, mut stdout) = process.stdio().expect("couldn't access child stdio");
108 None => return,
109 Some(it) => it,
110 };
111 108
112 for Task { req, result_tx } in task_rx { 109 for Task { req, result_tx } in task_rx {
113 match send_request(&mut stdin, &mut stdout, req) { 110 match send_request(&mut stdin, &mut stdout, req) {