diff options
Diffstat (limited to 'crates/gen_lsp_server/src/stdio.rs')
-rw-r--r-- | crates/gen_lsp_server/src/stdio.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/gen_lsp_server/src/stdio.rs b/crates/gen_lsp_server/src/stdio.rs index 5edfbc39c..2d6418400 100644 --- a/crates/gen_lsp_server/src/stdio.rs +++ b/crates/gen_lsp_server/src/stdio.rs | |||
@@ -27,9 +27,7 @@ pub fn stdio_transport() -> (Receiver<RawMessage>, Sender<RawMessage>, Threads) | |||
27 | _ => false, | 27 | _ => false, |
28 | }; | 28 | }; |
29 | 29 | ||
30 | if let Err(_) = reader_sender.send(msg) { | 30 | reader_sender.send(msg).unwrap(); |
31 | break; | ||
32 | } | ||
33 | 31 | ||
34 | if is_exit { | 32 | if is_exit { |
35 | break; | 33 | break; |