We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
process.stdio()
1 parent 2845ce5 commit b857149Copy full SHA for b857149
crates/proc_macro_api/src/process.rs
@@ -104,10 +104,7 @@ impl ProcMacroProcessSrv {
104
}
105
106
fn client_loop(task_rx: Receiver<Task>, mut process: Process) {
107
- let (mut stdin, mut stdout) = match process.stdio() {
108
- None => return,
109
- Some(it) => it,
110
- };
+ let (mut stdin, mut stdout) = process.stdio().expect("couldn't access child stdio");
111
112
for Task { req, result_tx } in task_rx {
113
match send_request(&mut stdin, &mut stdout, req) {
0 commit comments